Interface ScriptExecutionResult
- All Known Implementing Classes:
DefaultScriptExecutionResult
public interface ScriptExecutionResult
This interface provides generic access to Script Execution result, output and error output.
-
Method Summary
Modifier and TypeMethodDescriptionWriter which handles script sdt error.Writer which handles std out.Possible script execution result.booleanReturn information whether execution was successful.
-
Method Details
-
getScriptResult
Object getScriptResult()Possible script execution result. This method may return null when script does not produce result. -
getOutputWriter
Writer getOutputWriter()Writer which handles std out. -
getErrorWriter
Writer getErrorWriter()Writer which handles script sdt error. -
isSuccessful
boolean isSuccessful()Return information whether execution was successful.
-