public class ProcCheckOrderState extends ApplicationLoggingImpl implements PipelineProcessor
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
CLASS_VERSION |
int |
FAILURE |
STOP_CHAIN_EXECUTION, STOP_CHAIN_EXECUTION_AND_COMMIT, STOP_CHAIN_EXECUTION_AND_ROLLBACK
DEFAULT_LOG_TRACE_STATUS
DEFAULT_LOG_DEBUG_STATUS, DEFAULT_LOG_ERROR_STATUS, DEFAULT_LOG_INFO_STATUS, DEFAULT_LOG_WARNING_STATUS
Constructor and Description |
---|
ProcCheckOrderState() |
Modifier and Type | Method and Description |
---|---|
int |
getFailureReturnValue()
Returns property failureReturnValue
|
int[] |
getRetCodes()
Returns an array of all the return codes that could be returned by this PipelineProcessor.
|
java.lang.String[] |
getStatesList()
Returns property StatesList
|
int |
getSuccessReturnValue()
Returns property successReturnValue
|
int |
runProcess(java.lang.Object pParam,
PipelineResult pResult)
This method returns the value in successReturnValue if the order state is in the
statesList property.
|
void |
setFailureReturnValue(int pFailureReturnValue)
Sets property failureReturnValue
|
void |
setStatesList(java.lang.String[] pStatesList)
Sets property StatesList
|
void |
setSuccessReturnValue(int pSuccessReturnValue)
Sets property successReturnValue
|
addGlobalLogListeners, addLogListener, getLoggingForVlogging, getLoggingIdentifer, getLoggingIdentifier, getLogListenerCount, getLogListeners, initializeFromServiceEvent, isAutoInitListeners, isLoggingDebug, isLoggingError, isLoggingInfo, isLoggingTrace, isLoggingWarning, logDebug, logDebug, logDebug, logError, logError, logError, logInfo, logInfo, logInfo, logTrace, logTrace, logTrace, logWarning, logWarning, logWarning, removeLogListener, sendLogEvent, setAutoInitListeners, setLoggingDebug, setLoggingError, setLoggingIdentifier, setLoggingInfo, setLoggingTrace, setLoggingWarning
vlogDebug, vlogDebug, vlogDebug, vlogDebug, vlogDebugTrace, vlogError, vlogError, vlogError, vlogError, vlogInfo, vlogInfo, vlogInfo, vlogInfo, vlogTrace, vlogTrace, vlogTrace, vlogTrace, vlogWarning, vlogWarning, vlogWarning, vlogWarning
public static java.lang.String CLASS_VERSION
public final int FAILURE
public int getSuccessReturnValue()
public void setSuccessReturnValue(int pSuccessReturnValue)
pSuccessReturnValue
- the value to set for property successReturnValuepublic int getFailureReturnValue()
public void setFailureReturnValue(int pFailureReturnValue)
pFailureReturnValue
- the value to set for property failureReturnValuepublic java.lang.String[] getStatesList()
public void setStatesList(java.lang.String[] pStatesList)
pStatesList
- the value to set for property StatesListpublic int runProcess(java.lang.Object pParam, PipelineResult pResult) throws java.lang.Exception
runProcess
in interface PipelineProcessor
pParam
- an optional user parameterpResult
- the PipelineResult object which is used to return errors or other datajava.lang.Exception
public int[] getRetCodes()
PipelineProcessor
getRetCodes
in interface PipelineProcessor