Class TimerBoundaryEventStrategy
java.lang.Object
org.camunda.community.bpmndt.strategy.DefaultStrategy
org.camunda.community.bpmndt.strategy.DefaultHandlerStrategy
org.camunda.community.bpmndt.strategy.TimerEventStrategy
org.camunda.community.bpmndt.strategy.TimerBoundaryEventStrategy
- All Implemented Interfaces:
GeneratorStrategy
-
Field Summary
Fields inherited from class org.camunda.community.bpmndt.strategy.DefaultStrategy
CALL_ACTIVITY, CUSTOM_MULTI_INSTANCE, element, JOB, literal, MESSAGE_EVENT, OTHER, OUTBOUND_CONNECTOR, RECEIVE_TASK, SIGNAL_EVENT, TIMER_EVENT, USER_TASK -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidapplyHandler(com.squareup.javapoet.MethodSpec.Builder methodBuilder) Adds code to the execute/apply method, if the element is handled by a handler - e.g.:Methods inherited from class org.camunda.community.bpmndt.strategy.TimerEventStrategy
getHandlerType, initHandlerElementMethods inherited from class org.camunda.community.bpmndt.strategy.DefaultHandlerStrategy
addHandlerField, addHandlerMethod, getHandler, hasPassed, initHandler, initHandlerStatementMethods inherited from class org.camunda.community.bpmndt.strategy.DefaultStrategy
getElement, getLiteral, isWaitingAt
-
Constructor Details
-
TimerBoundaryEventStrategy
-
-
Method Details
-
applyHandler
public void applyHandler(com.squareup.javapoet.MethodSpec.Builder methodBuilder) Description copied from interface:GeneratorStrategyAdds code to the execute/apply method, if the element is handled by a handler - e.g.:instance.isWaitingAt(processInstanceEvent, "placeOrderExternalTask"); instance.apply(processInstanceEvent, placeOrderExternalTask)
or the previous element is an event based gateway.
- Specified by:
applyHandlerin interfaceGeneratorStrategy- Overrides:
applyHandlerin classDefaultHandlerStrategy- Parameters:
methodBuilder- The method builder to use.
-