com.ibm.websphere.management.cmdframework.provider

Class TaskCommandResultImpl

  1. java.lang.Object
  2. extended bycom.ibm.websphere.management.cmdframework.provider.CommandResultImpl
  3. extended bycom.ibm.websphere.management.cmdframework.provider.TaskCommandResultImpl
All implemented interfaces:
CommandResult, TaskCommandResult, java.io.Serializable

  1. public class TaskCommandResultImpl
  2. extends CommandResultImpl
  3. implements TaskCommandResult
A default TaskCommandResult implementation.
See Also:
Serialized Form

Constructor Summary

Constructor and Description
TaskCommandResultImpl()

Method Summary

Modifier and Type Method and Description
  1. CommandResult
getStepResult(java.lang.String stepName)
  1. 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

  1. public TaskCommandResultImpl()

Method Detail

setStepResult

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

getStepResult

  1. public CommandResult getStepResult( java.lang.String stepName)
Description copied from interface: TaskCommandResult
Gets the command step results.
Specified by:
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.