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
A default TaskCommandResult implementation.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor and Description TaskCommandResultImpl()
-
Method Summary
Methods Modifier and Type Method and Description 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
-
-
-
-
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 interfaceTaskCommandResult
- 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.
-
-