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 itselfRC_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 startRC_OKmeans everything ran fine.
Created by Jeff Gaynor
on 2/6/20 at 12:28 PM
-
-
Field Summary
Fields 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 Summary
Constructors Constructor Description ScriptRunResponse(String message, Map<String,Object> map, int rc)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetMessage()intgetReturnCode()Map<String,Object>getReturnedValues()
-
-
-
Field Detail
-
RC_INTERNAL_ERROR
public static final int RC_INTERNAL_ERROR
- See Also:
- Constant Field Values
-
RC_SCRIPT_NOT_FOUND
public static final int RC_SCRIPT_NOT_FOUND
- See Also:
- Constant Field Values
-
RC_SCRIPT_ERROR
public static final int RC_SCRIPT_ERROR
- See Also:
- Constant Field Values
-
RC_NOT_RUN
public static final int RC_NOT_RUN
- See Also:
- Constant Field Values
-
RC_OK
public static final int RC_OK
- See Also:
- Constant Field Values
-
RC_OK_NO_SCRIPTS
public static final int RC_OK_NO_SCRIPTS
- See Also:
- Constant Field Values
-
-