public class EmptyProcessor extends java.lang.Object implements PipelineProcessor
returnValue
property, which defaults to 1.Modifier and Type | Field and Description |
---|---|
static java.lang.String |
CLASS_VERSION |
STOP_CHAIN_EXECUTION, STOP_CHAIN_EXECUTION_AND_COMMIT, STOP_CHAIN_EXECUTION_AND_ROLLBACK
Constructor and Description |
---|
EmptyProcessor() |
Modifier and Type | Method and Description |
---|---|
int[] |
getRetCodes()
Get the list of return values this processor can return.
|
int |
getReturnValue()
Get the return value that this processor always returns.
|
int |
runProcess(java.lang.Object pParam,
PipelineResult pResult)
Do nothing, and return the value specified by
returnValue . |
void |
setReturnValue(int pReturnValue)
Set the return value that this processor always returns.
|
public void setReturnValue(int pReturnValue)
public int getReturnValue()
public int[] getRetCodes()
getRetCodes
in interface PipelineProcessor
public int runProcess(java.lang.Object pParam, PipelineResult pResult) throws java.lang.Exception
returnValue
.runProcess
in interface PipelineProcessor
pParam
- an optional user parameterpResult
- the PipelineResult object which is used to return errors or other datajava.lang.Exception