public class ProcShippingGroupHasShipped extends java.lang.Object implements PipelineProcessor
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
CLASS_VERSION
Class version string
|
STOP_CHAIN_EXECUTION, STOP_CHAIN_EXECUTION_AND_COMMIT, STOP_CHAIN_EXECUTION_AND_ROLLBACK
Constructor and Description |
---|
ProcShippingGroupHasShipped() |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getChainToRun() |
int |
getFailureReturnCode()
The return code that's used when the
executed chain throws an exception.
|
int[] |
getRetCodes()
Returns the valid return codes
1 - The processor completed
2 - The processor failed
|
int |
runProcess(java.lang.Object pParam,
PipelineResult pResult)
Ships the shipping group that is in a PENDING_SHIPMENT state
This method requires that an Order and OrderFulfiller object be supplied
in pParam in a HashMap.
|
void |
setChainToRun(java.lang.String pChainToRun) |
void |
setFailureReturnCode(int pFailureReturnCode) |
public int[] getRetCodes()
getRetCodes
in interface PipelineProcessor
public java.lang.String getChainToRun()
public void setChainToRun(java.lang.String pChainToRun)
public int getFailureReturnCode()
public void setFailureReturnCode(int pFailureReturnCode)
public int runProcess(java.lang.Object pParam, PipelineResult pResult) throws java.lang.Exception
runProcess
in interface PipelineProcessor
pParam
- a HashMap which must contain an Order and OrderFulfiller objectpResult
- a PipelineResult object which stores any information which must
be returned from this method invokationjava.lang.Exception
- throws any exception back to the callerPipelineProcessor.runProcess(Object, PipelineResult)