Class AbstractSignalEventDefinitionBuilder<B extends AbstractSignalEventDefinitionBuilder<B>>
- java.lang.Object
-
- org.camunda.bpm.model.bpmn.builder.AbstractBpmnModelElementBuilder<B,E>
-
- org.camunda.bpm.model.bpmn.builder.AbstractBaseElementBuilder<B,E>
-
- org.camunda.bpm.model.bpmn.builder.AbstractRootElementBuilder<B,SignalEventDefinition>
-
- org.camunda.bpm.model.bpmn.builder.AbstractSignalEventDefinitionBuilder<B>
-
- Direct Known Subclasses:
SignalEventDefinitionBuilder
public abstract class AbstractSignalEventDefinitionBuilder<B extends AbstractSignalEventDefinitionBuilder<B>> extends AbstractRootElementBuilder<B,SignalEventDefinition>
- Author:
- Nikola Koevski
-
-
Field Summary
-
Fields inherited from class org.camunda.bpm.model.bpmn.builder.AbstractBaseElementBuilder
SPACE
-
Fields inherited from class org.camunda.bpm.model.bpmn.builder.AbstractBpmnModelElementBuilder
element, modelInstance, myself
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
AbstractSignalEventDefinitionBuilder(BpmnModelInstance modelInstance, SignalEventDefinition element, Class<?> selfType)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description B
camundaInAllVariables(String variables)
Sets a "camunda:in" parameter to pass all the process variables of the signal-throwing process instance to the signal-catching process instanceB
camundaInAllVariables(String variables, boolean local)
Sets a "camunda:in" parameter to pass all the process variables of the signal-throwing process instance to the signal-catching process instanceB
camundaInBusinessKey(String businessKey)
Sets a "camunda:in" parameter to pass the business key from the signal-throwing process instance to the signal-catching process instanceB
camundaInSourceExpressionTarget(String sourceExpression, String target)
Sets a "camunda:in" parameter to pass an expression from the signal-throwing process instance to a variable in the signal-catching process instanceB
camundaInSourceTarget(String source, String target)
Sets a "camunda:in" parameter to pass a variable from the signal-throwing process instance to the signal-catching process instance-
Methods inherited from class org.camunda.bpm.model.bpmn.builder.AbstractBaseElementBuilder
addExtensionElement, createBpmnEdge, createBpmnShape, createChild, createChild, createChild, createChild, createCompensateEventDefinition, createEdge, createEmptyErrorEventDefinition, createEmptyMessageEventDefinition, createErrorEventDefinition, createErrorEventDefinition, createEscalationEventDefinition, createInstance, createInstance, createMessageEventDefinition, createSibling, createSibling, createSignalEventDefinition, createTimeCycle, createTimeDate, createTimeDuration, documentation, findBpmnEdge, findBpmnPlane, findBpmnShape, findErrorDefinitionForCode, findErrorForNameAndCode, findErrorForNameAndCode, findEscalationForCode, findMessageForName, findSignalForName, getCreateSingleChild, getCreateSingleChild, getCreateSingleExtensionElement, id, resizeSubProcess, setCoordinates, setWaypoints, setWaypointsWithSourceAndTarget
-
Methods inherited from class org.camunda.bpm.model.bpmn.builder.AbstractBpmnModelElementBuilder
done, getElement, subProcessDone, throwEventDefinitionDone, transactionDone
-
-
-
-
Constructor Detail
-
AbstractSignalEventDefinitionBuilder
protected AbstractSignalEventDefinitionBuilder(BpmnModelInstance modelInstance, SignalEventDefinition element, Class<?> selfType)
-
-
Method Detail
-
camundaInSourceTarget
public B camundaInSourceTarget(String source, String target)
Sets a "camunda:in" parameter to pass a variable from the signal-throwing process instance to the signal-catching process instance- Parameters:
source
- the name of the variable in the signal-throwing process instancetarget
- the name of the variable in the signal-catching process instance- Returns:
- the builder object
-
camundaInSourceExpressionTarget
public B camundaInSourceExpressionTarget(String sourceExpression, String target)
Sets a "camunda:in" parameter to pass an expression from the signal-throwing process instance to a variable in the signal-catching process instance- Parameters:
sourceExpression
- the expression in the signal-throwing process instancetarget
- the name of the variable in the signal-catching process instance- Returns:
- the builder object
-
camundaInBusinessKey
public B camundaInBusinessKey(String businessKey)
Sets a "camunda:in" parameter to pass the business key from the signal-throwing process instance to the signal-catching process instance- Parameters:
businessKey
- the business key string or expression of the signal-throwing process instance- Returns:
- the builder object
-
camundaInAllVariables
public B camundaInAllVariables(String variables, boolean local)
Sets a "camunda:in" parameter to pass all the process variables of the signal-throwing process instance to the signal-catching process instance- Parameters:
variables
- a String flag to declare that all of the signal-throwing process-instance variables should be passedlocal
- a Boolean flag to declare that only the local variables should be passed- Returns:
- the builder object
-
camundaInAllVariables
public B camundaInAllVariables(String variables)
Sets a "camunda:in" parameter to pass all the process variables of the signal-throwing process instance to the signal-catching process instance- Parameters:
variables
- a String flag to declare that all of the signal-throwing process-instance variables should be passed- Returns:
- the builder object
-
-