public class CanPurgeProcessor extends GenericService implements PipelineProcessor, ProcessorConstants
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
CLASS_VERSION
Class version string
|
SERVICE_INFO_KEYSTOP_CHAIN_EXECUTION, STOP_CHAIN_EXECUTION_AND_COMMIT, STOP_CHAIN_EXECUTION_AND_ROLLBACKPURGE_ITEM, RETCODE_NOT_OK, RETCODE_OKDEFAULT_LOG_TRACE_STATUSDEFAULT_LOG_DEBUG_STATUS, DEFAULT_LOG_ERROR_STATUS, DEFAULT_LOG_INFO_STATUS, DEFAULT_LOG_WARNING_STATUS| Constructor and Description |
|---|
CanPurgeProcessor() |
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
canPurge(PurgeItem pPurgeItem)
This method runs the actual logic whether we should purge current item or skip it.
|
int[] |
getRetCodes()
Returns an array of all the return codes that could be returned by this PipelineProcessor.
|
int |
runProcess(java.lang.Object pParam,
PipelineResult pResult)
This method runs the actual processor and does the work.
|
addLogListener, clearAbsoluteNameAndContext, createAdminServlet, doStartService, doStopService, getAbsoluteName, getAdminServlet, getAdminServletOutputStreamEncoding, getLoggingForVlogging, getLogListenerCount, getLogListeners, getName, getNameContext, getNucleus, getRoot, getServiceConfiguration, getServiceInfo, isAdminServletUseServletOutputStream, isLoggingDebug, isLoggingError, isLoggingInfo, isLoggingTrace, isLoggingWarning, isRunning, isStartServiceComplete, logDebug, logDebug, logDebug, logError, logError, logError, logInfo, logInfo, logInfo, logTrace, logTrace, logTrace, logWarning, logWarning, logWarning, nameContextElementBound, nameContextElementUnbound, removeLogListener, reResolveThis, resolveName, resolveName, resolveName, resolveName, sendLogEvent, setAdminServletOutputStreamEncoding, setAdminServletUseServletOutputStream, setLoggingDebug, setLoggingError, setLoggingInfo, setLoggingTrace, setLoggingWarning, setNucleus, setServiceInfo, startService, stopService, toStringvlogDebug, vlogDebug, vlogDebug, vlogDebug, vlogDebugTrace, vlogError, vlogError, vlogError, vlogError, vlogInfo, vlogInfo, vlogInfo, vlogInfo, vlogTrace, vlogTrace, vlogTrace, vlogTrace, vlogWarning, vlogWarning, vlogWarning, vlogWarningpublic int[] getRetCodes()
PipelineProcessorgetRetCodes in interface PipelineProcessorpublic int runProcess(java.lang.Object pParam,
PipelineResult pResult)
throws java.lang.Exception
PipelineProcessorrunProcess in interface PipelineProcessorpParam - an optional user parameterpResult - the PipelineResult object which is used to return errors or other datajava.lang.Exceptionprotected boolean canPurge(PurgeItem pPurgeItem) throws java.lang.Exception
pPurgeItem - current purge itemjava.lang.Exception