Class ScriptRunResponse
- java.lang.Object
- 
- edu.uiuc.ncsa.security.util.scripting.ScriptRunResponse
 
- 
 public class ScriptRunResponse extends Object The response to aScriptRunRequest. This contains the results of running the script with the objects keyed by name. The message is optional and may be the output of an error. The return code is from the engine and may be one of the RC_ values. A negative result denotes there was an error processing the request,- RC_INTERNAL_ERRORmeans that there was an actual error in the runtime engine itself
- RC_SCRIPT_NOT_FOUNDmeans that the requested script was not found.
-  RC_SCRIPT_ERRORmeans that the script reported an error.
- RC_NOT_RUNmeans that the request was not handled. E.g. the runtime engine could not start
- RC_OKmeans everything ran fine.
 Created by Jeff Gaynor 
 on 2/6/20 at 12:28 PM
- 
- 
Field SummaryFields Modifier and Type Field Description static intRC_INTERNAL_ERRORstatic intRC_NOT_RUNstatic intRC_OKstatic intRC_OK_NO_SCRIPTSstatic intRC_SCRIPT_ERRORstatic intRC_SCRIPT_NOT_FOUND
 - 
Constructor SummaryConstructors Constructor Description ScriptRunResponse(String message, Map<String,Object> map, int rc)
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetMessage()intgetReturnCode()Map<String,Object>getReturnedValues()
 
- 
- 
- 
Field Detail- 
RC_INTERNAL_ERRORpublic static final int RC_INTERNAL_ERROR - See Also:
- Constant Field Values
 
 - 
RC_SCRIPT_NOT_FOUNDpublic static final int RC_SCRIPT_NOT_FOUND - See Also:
- Constant Field Values
 
 - 
RC_SCRIPT_ERRORpublic static final int RC_SCRIPT_ERROR - See Also:
- Constant Field Values
 
 - 
RC_NOT_RUNpublic static final int RC_NOT_RUN - See Also:
- Constant Field Values
 
 - 
RC_OKpublic static final int RC_OK - See Also:
- Constant Field Values
 
 - 
RC_OK_NO_SCRIPTSpublic static final int RC_OK_NO_SCRIPTS - See Also:
- Constant Field Values
 
 
- 
 
-