Klasse TimerJobCompletionWorkflowEventHandler
java.lang.Object
de.uplanet.lucy.server.workflow.eventhandler.AbstractWorkflowEventHandler
de.uplanet.lucy.server.workflow.eventhandler.TimerJobCompletionWorkflowEventHandler
- Alle implementierten Schnittstellen:
IActivatableWorkflowObject,INamedWorkflowObject,INeedWorkflow,IWorkflowEventHandler,IWorkflowObject,Serializable
- Siehe auch:
-
Feldübersicht
Von Schnittstelle geerbte Felder de.uplanet.lucy.server.workflow.IWorkflowObject
GUID_COMPARATOR -
Konstruktorübersicht
Konstruktoren -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungbooleanbooleanisHandlerFor(IWorkflowEvent p_evt, de.uplanet.lucy.server.workflow.IWorkflowProcessingContext p_wfCtx) Check if this event handler may handle the given event.process(IWorkflowEvent p_evt, de.uplanet.lucy.server.workflow.IWorkflowProcessingContext p_wfCtx, de.uplanet.lucy.server.IProcessingContext p_ctx) Process a workflow event in the given context.voidsetErrorsOnly(boolean p_bErrorsOnly) voidsetTimerGuid(String p_strTimerGuid) Von Klasse geerbte Methoden de.uplanet.lucy.server.workflow.eventhandler.AbstractWorkflowEventHandler
getEfferentTransition, getGuid, getName, getWorkflow, isActive, isHandleExternalEvents, setActive, setEfferentTransition, setHandleExternalEvents, setName, setWorkflow
-
Konstruktordetails
-
TimerJobCompletionWorkflowEventHandler
-
-
Methodendetails
-
getTimerGuid
-
setTimerGuid
-
isErrorsOnly
public boolean isErrorsOnly() -
setErrorsOnly
public void setErrorsOnly(boolean p_bErrorsOnly) -
isHandlerFor
public boolean isHandlerFor(IWorkflowEvent p_evt, de.uplanet.lucy.server.workflow.IWorkflowProcessingContext p_wfCtx) Beschreibung aus Schnittstelle kopiert:IWorkflowEventHandlerCheck if this event handler may handle the given event.This method should return
falseif this event handler's state is inactive.Note: despite this method returns
truethe event handler is not required to return its efferent transition whenprocessis being called.- Parameter:
p_evt- The event.p_wfCtx- The workflow processing context.- Gibt zurück:
trueif this event handler may process this event, orfalseotherwise.
-
process
public WorkflowTransition process(IWorkflowEvent p_evt, de.uplanet.lucy.server.workflow.IWorkflowProcessingContext p_wfCtx, de.uplanet.lucy.server.IProcessingContext p_ctx) throws Exception Beschreibung aus Schnittstelle kopiert:IWorkflowEventHandlerProcess a workflow event in the given context.This method is called by the workflow engine if a call to
isHandlerForreturnedtrue. However this method is not required to return a non-null efferent transition in such cases.A workflow event handler must return
nullif it is notactive.- Parameter:
p_evt- The event to be processed.p_wfCtx- The workflow processing context.p_ctx- The processing context.- Gibt zurück:
- The efferent transition, or
null. - Löst aus:
Exception- If an error occurred.
-