Package com.tibco.ep.testing.framework
Class Results
java.lang.Object
com.tibco.ep.testing.framework.Results
-
Method Summary
Modifier and TypeMethodDescriptionerror()
Deprecated.List
<com.tibco.ep.dtm.management.DtmResults> Get all resultsGet list of status messagesReturn the error messages of the commandDeprecated.Warning: this method excludes the source of each status usegetCommandStatusMessages()
insteadPretty print the service name, command, parameters, return code, status messages, error messages, and results.int
Return the return code of the commandOptional
<com.tibco.ep.dtm.management.DtmResults> Deprecated.Warning: this method excludes results when the command returns more than one result set usegetCommandResults()
insteadtoString()
Convert results set to a simple string
-
Method Details
-
getCommandResults
Get all results
- Returns:
- List of results. If no results, list will be of zero length.
-
returnCode
public int returnCode()Return the return code of the command
- DtmCommand.COMMAND_SUCCEEDED - Return code indicating command succeeded
- DtmCommand.COMMAND_CANCELED - Return code indicating command was canceled
- DtmCommand.COMMAND_WAIT_TIMEDOUT - Return code indicating command wait timed out
- Returns:
- return code
-
getErrorMessages
-
getCommandStatusMessages
-
toString
-
prettyPrint
Pretty print the service name, command, parameters, return code, status messages, error messages, and results.- Returns:
- Formatted results.
-
toDtmResults
Deprecated.Warning: this method excludes results when the command returns more than one result set usegetCommandResults()
insteadConvert last results set to DtmResults
- Returns:
- results set
-
error
Deprecated.Warning: this method excludes errors when the command returns more than one error usegetErrorMessages()
insteadReturn the last error message of the command
- Returns:
- error message - null on no error
-
getStatusMessages
Deprecated.Warning: this method excludes the source of each status usegetCommandStatusMessages()
insteadGet list of status messages
- Returns:
- list of status messages
-
getErrorMessages()
instead