Class WsGshTemplateExecResult
java.lang.Object
edu.internet2.middleware.grouper.ws.coresoap.WsGshTemplateExecResult
- All Implemented Interfaces:
WsResponseBean,ResultMetadataHolder
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumresult code of a request -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidassignResultCode(WsGshTemplateExecResult.WsGshTemplateExecResultCode wsGshTemplateExecResultCode, GrouperVersion clientVersion) assign the code from the enumvoidassignResultCodeException(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)voidsetGshOutputLines(WsGshOutputLine[] gshOutputLines) voidsetGshScriptOutput(String gshScriptOutput) voidsetGshValidationLines(WsGshValidationLine[] gshValidationLines) voidsetTransaction(Boolean transaction) voidsetWsOutput(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:WsResponseBeanget the result metadata- Specified by:
getResultMetadatain interfaceResultMetadataHolder- Specified by:
getResultMetadatain interfaceWsResponseBean- Returns:
- the result metadata
-
getResponseMetadata
Description copied from interface:WsResponseBeanget the response metadata- Specified by:
getResponseMetadatain 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:
-