Package org.camunda.bpm.scenario.defer
Interface Deferrable
-
- All Known Subinterfaces:
EventBasedGatewayDelegate,EventSubscriptionDelegate,ExternalTaskDelegate,ProcessInstanceDelegate,TaskDelegate
- All Known Implementing Classes:
AbstractEventSubscriptionDelegate,AbstractExternalTaskDelegate,AbstractProcessInstanceDelegate,AbstractTaskDelegate,BusinessRuleTaskExecutable,CallActivityExecutable,ConditionalIntermediateEventExecutable,EventBasedGatewayExecutable,EventSubscriptionDelegateImpl,MessageEndEventExecutable,MessageIntermediateCatchEventExecutable,MessageIntermediateThrowEventExecutable,ProcessInstanceDelegateImpl,ReceiveTaskExecutable,SendTaskExecutable,ServiceTaskExecutable,SignalIntermediateCatchEventExecutable,TimerIntermediateEventExecutable,UserTaskExecutable
public interface Deferrable- Author:
- Martin Schimak
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voiddefer(String period, Deferred action)Defer a certain action for a certain period of time until it is executed.
-
-
-
Method Detail
-
defer
void defer(String period, Deferred action)
Defer a certain action for a certain period of time until it is executed. Note that the action is just executed as long as *this* runtime object for which you defer the action still exists in the runtime database. If it disappears before the deferred action triggers, the action will never be executed.- Parameters:
period- of time for which you want to defer an actionaction- which should be executed after the given period.
-
-