Class WsGshTemplateExecResult
java.lang.Object
edu.internet2.middleware.grouper.ws.coresoap.WsGshTemplateExecResult
- All Implemented Interfaces:
WsResponseBean
,ResultMetadataHolder
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic enum
result code of a request -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
assignResultCode
(WsGshTemplateExecResult.WsGshTemplateExecResultCode wsGshTemplateExecResultCode, GrouperVersion clientVersion) assign the code from the enumvoid
assignResultCodeException
(Exception e, String stack, GrouperVersion clientVersion) assign a resultcode of exception, and process/log the exceptionExit code returned by the gsh script (non-zero generally indicates an error)get the response metadataget the result metadataset a map or javabeansetGshExitCode
(Integer gshExitCode) Exit code returned by the gsh script (non-zero generally indicates an error)void
setGshOutputLines
(WsGshOutputLine[] gshOutputLines) void
setGshScriptOutput
(String gshScriptOutput) void
setGshValidationLines
(WsGshValidationLine[] gshValidationLines) void
setTransaction
(Boolean transaction) void
setWsOutput
(Object wsOutput) set a map or javabean
-
Constructor Details
-
WsGshTemplateExecResult
public WsGshTemplateExecResult()
-
-
Method Details
-
getWsOutput
set a map or javabean- Returns:
-
setWsOutput
set a map or javabean- Parameters:
wsOutput
-
-
getTransaction
-
setTransaction
-
getGshValidationLines
-
setGshValidationLines
-
getGshOutputLines
-
setGshOutputLines
-
getGshScriptOutput
-
setGshScriptOutput
-
getResultMetadata
Description copied from interface:WsResponseBean
get the result metadata- Specified by:
getResultMetadata
in interfaceResultMetadataHolder
- Specified by:
getResultMetadata
in interfaceWsResponseBean
- Returns:
- the result metadata
-
getResponseMetadata
Description copied from interface:WsResponseBean
get the response metadata- Specified by:
getResponseMetadata
in interfaceWsResponseBean
- Returns:
- the response metadata
-
assignResultCodeException
assign a resultcode of exception, and process/log the exception- Parameters:
e
-clientVersion
-
-
assignResultCode
public void assignResultCode(WsGshTemplateExecResult.WsGshTemplateExecResultCode wsGshTemplateExecResultCode, GrouperVersion clientVersion) assign the code from the enum- Parameters:
groupSaveResultsCode
-clientVersion
-
-
getGshExitCode
Exit code returned by the gsh script (non-zero generally indicates an error)- Returns:
-
setGshExitCode
Exit code returned by the gsh script (non-zero generally indicates an error)- Parameters:
gshExitCode
-- Returns:
-