com.ibm.jtopenlite.command
Class CommandResult
- java.lang.Object
-
- com.ibm.jtopenlite.command.CommandResult
-
public class CommandResult extends java.lang.Object
The result of calling a program or command.
-
-
Method Summary
Methods Modifier and Type Method and Description Message[]
getMessages()
Returns any messages that were issued during the call.java.util.List<Message>
getMessagesList()
int
getReturnCode()
Returns the return code from the call, if any.boolean
succeeded()
Returns true if the call was successful.java.lang.String
toString()
-
-
-
Method Detail
-
succeeded
public boolean succeeded()
Returns true if the call was successful.
-
getReturnCode
public int getReturnCode()
Returns the return code from the call, if any.
-
getMessages
public Message[] getMessages()
Returns any messages that were issued during the call.
-
getMessagesList
public java.util.List<Message> getMessagesList()
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-