IBM WebSphere Application ServerTM
Release 8

com.ibm.websphere.management.cmdframework.provider
Class TaskCommandResultImpl

java.lang.Object
  extended by com.ibm.websphere.management.cmdframework.provider.CommandResultImpl
      extended by com.ibm.websphere.management.cmdframework.provider.TaskCommandResultImpl
All Implemented Interfaces:
CommandResult, TaskCommandResult, java.io.Serializable

public class TaskCommandResultImpl
extends CommandResultImpl
implements TaskCommandResult

A default TaskCommandResult implementation.

See Also:
Serialized Form

Constructor Summary
TaskCommandResultImpl()
           
 
Method Summary
 CommandResult getStepResult(java.lang.String stepName)
          Gets the command step results.
 void setStepResult(java.lang.String stepName, CommandResult stepResult)
           
 
Methods inherited from class com.ibm.websphere.management.cmdframework.provider.CommandResultImpl
addWarnings, getException, getMessages, getResult, isSuccessful, reset, setException, setResult, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface com.ibm.websphere.management.cmdframework.CommandResult
getException, getMessages, getResult, isSuccessful
 

Constructor Detail

TaskCommandResultImpl

public TaskCommandResultImpl()
Method Detail

setStepResult

public void setStepResult(java.lang.String stepName,
                          CommandResult stepResult)

getStepResult

public CommandResult getStepResult(java.lang.String stepName)
Description copied from interface: TaskCommandResult
Gets the command step results.

Specified by:
getStepResult in interface TaskCommandResult
Parameters:
stepName - step name.
Returns:
the result of the specified step. If the result is not set for the specified step, then it returns null.

IBM WebSphere Application ServerTM
Release 8