org.camunda.bpm.model.bpmn.builder
Class AbstractCompensateEventDefinitionBuilder<B extends AbstractCompensateEventDefinitionBuilder<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,CompensateEventDefinition>
              extended by org.camunda.bpm.model.bpmn.builder.AbstractCompensateEventDefinitionBuilder<B>
Direct Known Subclasses:
CompensateEventDefinitionBuilder

public abstract class AbstractCompensateEventDefinitionBuilder<B extends AbstractCompensateEventDefinitionBuilder<B>>
extends AbstractRootElementBuilder<B,CompensateEventDefinition>


Field Summary
 
Fields inherited from class org.camunda.bpm.model.bpmn.builder.AbstractBpmnModelElementBuilder
element, modelInstance, myself
 
Constructor Summary
AbstractCompensateEventDefinitionBuilder(BpmnModelInstance modelInstance, CompensateEventDefinition element, Class<?> selfType)
           
 
Method Summary
 B activityRef(String activityId)
           
<T extends AbstractFlowNodeBuilder>
T
compensateEventDefinitionDone()
           
 B id(String identifier)
          Sets the identifier of the element.
 B waitForCompletion(boolean waitForCompletion)
           
 
Methods inherited from class org.camunda.bpm.model.bpmn.builder.AbstractBaseElementBuilder
addExtensionElement, createChild, createChild, createChild, createChild, createCompensateEventDefinition, createEmptyMessageEventDefinition, createErrorEventDefinition, createEscalationEventDefinition, createInstance, createInstance, createMessageEventDefinition, createSibling, createSibling, createSignalEventDefinition, findErrorForNameAndCode, findEscalationForCode, findMessageForName, findSignalForName, getCreateSingleChild, getCreateSingleChild, getCreateSingleExtensionElement
 
Methods inherited from class org.camunda.bpm.model.bpmn.builder.AbstractBpmnModelElementBuilder
done, subProcessDone, transactionDone
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AbstractCompensateEventDefinitionBuilder

public AbstractCompensateEventDefinitionBuilder(BpmnModelInstance modelInstance,
                                                CompensateEventDefinition element,
                                                Class<?> selfType)
Method Detail

id

public B id(String identifier)
Description copied from class: AbstractBaseElementBuilder
Sets the identifier of the element.

Overrides:
id in class AbstractBaseElementBuilder<B extends AbstractCompensateEventDefinitionBuilder<B>,CompensateEventDefinition>
Parameters:
identifier - the identifier to set
Returns:
the builder object

activityRef

public B activityRef(String activityId)

waitForCompletion

public B waitForCompletion(boolean waitForCompletion)

compensateEventDefinitionDone

public <T extends AbstractFlowNodeBuilder> T compensateEventDefinitionDone()


Copyright © 2016 camunda services GmbH. All rights reserved.