org.camunda.bpm.model.bpmn.builder
Class AbstractSignalEventDefinitionBuilder<B extends AbstractSignalEventDefinitionBuilder<B>>

java.lang.Object
  extended by org.camunda.bpm.model.bpmn.builder.AbstractBpmnModelElementBuilder<B,E>
      extended by org.camunda.bpm.model.bpmn.builder.AbstractBaseElementBuilder<B,E>
          extended by org.camunda.bpm.model.bpmn.builder.AbstractRootElementBuilder<B,SignalEventDefinition>
              extended by 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
protected AbstractSignalEventDefinitionBuilder(BpmnModelInstance modelInstance, SignalEventDefinition element, Class<?> selfType)
           
 
Method Summary
 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
 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
 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
 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
 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
 
Methods inherited from class org.camunda.bpm.model.bpmn.builder.AbstractBaseElementBuilder
addExtensionElement, createBpmnEdge, createBpmnShape, createChild, createChild, createChild, createChild, createCompensateEventDefinition, createEdge, createEmptyErrorEventDefinition, createEmptyMessageEventDefinition, createErrorEventDefinition, createEscalationEventDefinition, createInstance, createInstance, createMessageEventDefinition, createSibling, createSibling, createSignalEventDefinition, findBpmnEdge, findBpmnPlane, findBpmnShape, findErrorDefinitionForCode, 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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

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 instance
target - 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 instance
target - 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 passed
local - 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


Copyright © 2018 camunda services GmbH. All rights reserved.