com.ibm.websphere.management.cmdframework.provider
Class TaskCommandResultImpl
- java.lang.Object
com.ibm.websphere.management.cmdframework.provider.CommandResultImpl
com.ibm.websphere.management.cmdframework.provider.TaskCommandResultImpl
All implemented interfaces:
CommandResult, TaskCommandResult, java.io.Serializable
- public class TaskCommandResultImpl
- extends CommandResultImpl
- implements TaskCommandResult
See Also:
Constructor Summary
Constructor and Description |
---|
TaskCommandResultImpl()
|
Method Summary
Modifier and Type | Method and Description |
---|---|
getStepResult(java.lang.String stepName)
|
|
|
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)
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.
TaskCommandResult