org.camunda.bpm.model.bpmn.builder
Class AbstractCatchEventBuilder<B extends AbstractCatchEventBuilder<B,E>,E extends CatchEvent>

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.AbstractFlowElementBuilder<B,E>
              extended by org.camunda.bpm.model.bpmn.builder.AbstractFlowNodeBuilder<B,E>
                  extended by org.camunda.bpm.model.bpmn.builder.AbstractEventBuilder<B,E>
                      extended by org.camunda.bpm.model.bpmn.builder.AbstractCatchEventBuilder<B,E>
Direct Known Subclasses:
AbstractBoundaryEventBuilder, AbstractIntermediateCatchEventBuilder, AbstractStartEventBuilder

public abstract class AbstractCatchEventBuilder<B extends AbstractCatchEventBuilder<B,E>,E extends CatchEvent>
extends AbstractEventBuilder<B,E>

Author:
Sebastian Menski

Field Summary
 
Fields inherited from class org.camunda.bpm.model.bpmn.builder.AbstractFlowNodeBuilder
compensateBoundaryEvent, compensationStarted
 
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 AbstractCatchEventBuilder(BpmnModelInstance modelInstance, E element, Class<?> selfType)
           
 
Method Summary
 CompensateEventDefinitionBuilder compensateEventDefinition()
           
 CompensateEventDefinitionBuilder compensateEventDefinition(String id)
           
 B condition(String condition)
           
 ConditionalEventDefinitionBuilder conditionalEventDefinition()
           
 ConditionalEventDefinitionBuilder conditionalEventDefinition(String id)
           
 B message(String messageName)
          Sets an event definition for the given message name.
 B parallelMultiple()
          Sets the event to be parallel multiple
 B signal(String signalName)
          Sets an event definition for the given signal name.
 B timerWithCycle(String timerCycle)
          Sets an event definition for the timer with a time cycle.
 B timerWithDate(String timerDate)
          Sets an event definition for the timer with a time date.
 B timerWithDuration(String timerDuration)
          Sets an event definition for the timer with a time duration.
 
Methods inherited from class org.camunda.bpm.model.bpmn.builder.AbstractEventBuilder
camundaInputParameter, camundaOutputParameter
 
Methods inherited from class org.camunda.bpm.model.bpmn.builder.AbstractFlowNodeBuilder
businessRuleTask, businessRuleTask, callActivity, callActivity, camundaAsyncAfter, camundaAsyncAfter, camundaAsyncBefore, camundaAsyncBefore, camundaExclusive, camundaExecutionListenerClass, camundaExecutionListenerClass, camundaExecutionListenerDelegateExpression, camundaExecutionListenerExpression, camundaFailedJobRetryTimeCycle, camundaJobPriority, compensationDone, compensationStart, condition, connectTarget, connectTargetWithAssociation, connectTargetWithSequenceFlow, connectTo, createTarget, createTargetBuilder, createTargetBuilder, endEvent, endEvent, eventBasedGateway, exclusiveGateway, exclusiveGateway, findLastGateway, inclusiveGateway, inclusiveGateway, intermediateCatchEvent, intermediateCatchEvent, intermediateThrowEvent, intermediateThrowEvent, isBoundaryEventWithStartedCompensation, isCompensationHandler, manualTask, manualTask, moveToActivity, moveToLastGateway, moveToNode, notCamundaExclusive, parallelGateway, parallelGateway, receiveTask, receiveTask, scriptTask, scriptTask, sendTask, sendTask, sequenceFlowId, serviceTask, serviceTask, subProcess, subProcess, transaction, transaction, userTask, userTask
 
Methods inherited from class org.camunda.bpm.model.bpmn.builder.AbstractFlowElementBuilder
name
 
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, transactionDone
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AbstractCatchEventBuilder

protected AbstractCatchEventBuilder(BpmnModelInstance modelInstance,
                                    E element,
                                    Class<?> selfType)
Method Detail

parallelMultiple

public B parallelMultiple()
Sets the event to be parallel multiple

Returns:
the builder object

message

public B message(String messageName)
Sets an event definition for the given message name. If already a message with this name exists it will be used, otherwise a new message is created.

Parameters:
messageName - the name of the message
Returns:
the builder object

signal

public B signal(String signalName)
Sets an event definition for the given signal name. If already a signal with this name exists it will be used, otherwise a new signal is created.

Parameters:
signalName - the name of the signal
Returns:
the builder object

timerWithDate

public B timerWithDate(String timerDate)
Sets an event definition for the timer with a time date.

Parameters:
timerDate - the time date of the timer
Returns:
the builder object

timerWithDuration

public B timerWithDuration(String timerDuration)
Sets an event definition for the timer with a time duration.

Parameters:
timerDuration - the time duration of the timer
Returns:
the builder object

timerWithCycle

public B timerWithCycle(String timerCycle)
Sets an event definition for the timer with a time cycle.

Parameters:
timerCycle - the time cycle of the timer
Returns:
the builder object

compensateEventDefinition

public CompensateEventDefinitionBuilder compensateEventDefinition()

compensateEventDefinition

public CompensateEventDefinitionBuilder compensateEventDefinition(String id)

conditionalEventDefinition

public ConditionalEventDefinitionBuilder conditionalEventDefinition()

conditionalEventDefinition

public ConditionalEventDefinitionBuilder conditionalEventDefinition(String id)

condition

public B condition(String condition)


Copyright © 2017 camunda services GmbH. All rights reserved.