Class ConfigPropertiesCascadeCommonUtils.CommandResult
java.lang.Object
edu.internet2.middleware.grouperClient.config.ConfigPropertiesCascadeCommonUtils.CommandResult
- Enclosing class:
- ConfigPropertiesCascadeCommonUtils
The results of executing a command.
-
Constructor Summary
ConstructorDescriptionCommandResult
(String _errorText, String _outputText, int _exitCode) Create a container to hold the results of an execution. -
Method Summary
Modifier and TypeMethodDescriptionIf any error text was generated by the call, it will be set here.int
If any exit code was generated by the call, it will be set here.If any output text was generated by the call, it will be set here.
-
Constructor Details
-
CommandResult
Create a container to hold the results of an execution.- Parameters:
_errorText
-_outputText
-_exitCode
-
-
-
Method Details
-
getErrorText
If any error text was generated by the call, it will be set here.- Returns:
- the errorText
-
getOutputText
If any output text was generated by the call, it will be set here.- Returns:
- the outputText
-
getExitCode
public int getExitCode()If any exit code was generated by the call, it will be set here.- Returns:
- the exitCode
-