Interface ScriptExecutionResult
-
- All Known Implementing Classes:
DefaultScriptExecutionResult
public interface ScriptExecutionResultThis interface provides generic access to Script Execution result, output and error output.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.io.WritergetErrorWriter()Writer which handles script sdt error.java.io.WritergetOutputWriter()Writer which handles std out.java.lang.ObjectgetScriptResult()Possible script execution result.booleanisSuccessful()Return information whether execution was successful.
-
-
-
Method Detail
-
getScriptResult
java.lang.Object getScriptResult()
Possible script execution result. This method may return null when script does not produce result.
-
getOutputWriter
java.io.Writer getOutputWriter()
Writer which handles std out.
-
getErrorWriter
java.io.Writer getErrorWriter()
Writer which handles script sdt error.
-
isSuccessful
boolean isSuccessful()
Return information whether execution was successful.
-
-