com.ibm.websphere.management.cmdframework

Interface TaskCommandResult

All Superinterfaces:
CommandResult, java.io.Serializable
All known implementing classes:
TaskCommandResultImpl

  1. public interface TaskCommandResult
  2. extends CommandResult
A task command may optionally set the result for individual command. This interface allows user to get the result of specific step.

Method Summary

Modifier and Type Method and Description
  1. CommandResult
getStepResult(java.lang.String stepName)
Gets the command step results.
Methods inherited from interface com.ibm.websphere.management.cmdframework.CommandResult
getException, getMessages, getResult, isSuccessful

Method Detail

getStepResult

  1. CommandResult getStepResult(java.lang.String stepName)
Gets the command step results.
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.