Class SignalEventStrategy
java.lang.Object
org.camunda.community.bpmndt.strategy.DefaultStrategy
org.camunda.community.bpmndt.strategy.DefaultHandlerStrategy
org.camunda.community.bpmndt.strategy.SignalEventStrategy
- All Implemented Interfaces:
GeneratorStrategy
- Direct Known Subclasses:
SignalBoundaryEventStrategy
-
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 TypeMethodDescriptioncom.squareup.javapoet.TypeNameReturns the type name of the related handler orVoid, if the activity is not handled by a specific handler.voidinitHandlerElement(com.squareup.javapoet.MethodSpec.Builder methodBuilder) Adds code, which initializes the handler's element - e.g.Methods inherited from class org.camunda.community.bpmndt.strategy.DefaultHandlerStrategy
addHandlerField, addHandlerMethod, applyHandler, getHandler, hasPassed, initHandler, initHandlerStatementMethods inherited from class org.camunda.community.bpmndt.strategy.DefaultStrategy
getElement, getLiteral, isWaitingAt
-
Constructor Details
-
SignalEventStrategy
-
-
Method Details
-
getHandlerType
public com.squareup.javapoet.TypeName getHandlerType()Description copied from interface:GeneratorStrategyReturns the type name of the related handler orVoid, if the activity is not handled by a specific handler.- Specified by:
getHandlerTypein interfaceGeneratorStrategy- Overrides:
getHandlerTypein classDefaultStrategy- Returns:
- The handler type name e.g.
TypeName.get(UserTaskHandler.class).
-
initHandlerElement
public void initHandlerElement(com.squareup.javapoet.MethodSpec.Builder methodBuilder) Description copied from interface:GeneratorStrategyAdds code, which initializes the handler's element - e.g.TestCaseInstanceElement.UserTaskElement- Specified by:
initHandlerElementin interfaceGeneratorStrategy- Overrides:
initHandlerElementin classDefaultStrategy- Parameters:
methodBuilder- The method builder to use.
-