org.camunda.bpm.model.bpmn.builder
Class AbstractProcessBuilder<B extends AbstractProcessBuilder<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,E>
              extended by org.camunda.bpm.model.bpmn.builder.AbstractCallableElementBuilder<B,Process>
                  extended by org.camunda.bpm.model.bpmn.builder.AbstractProcessBuilder<B>
Direct Known Subclasses:
ProcessBuilder

public abstract class AbstractProcessBuilder<B extends AbstractProcessBuilder<B>>
extends AbstractCallableElementBuilder<B,Process>

Author:
Sebastian Menski

Field Summary
 
Fields inherited from class org.camunda.bpm.model.bpmn.builder.AbstractBpmnModelElementBuilder
element, modelInstance, myself
 
Constructor Summary
protected AbstractProcessBuilder(BpmnModelInstance modelInstance, Process element, Class<?> selfType)
           
 
Method Summary
 B camundaJobPriority(String jobPriority)
           
 B camundaTaskPriority(String taskPriority)
          Set the camunda task priority attribute.
 B closed()
          Sets this closed.
 B executable()
          Sets this executable.
 B processType(ProcessType processType)
          Sets the process type for this.
 
Methods inherited from class org.camunda.bpm.model.bpmn.builder.AbstractCallableElementBuilder
name
 
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, id
 
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

AbstractProcessBuilder

protected AbstractProcessBuilder(BpmnModelInstance modelInstance,
                                 Process element,
                                 Class<?> selfType)
Method Detail

processType

public B processType(ProcessType processType)
Sets the process type for this.

Parameters:
processType - the process type to set
Returns:
the builder object

closed

public B closed()
Sets this closed.

Returns:
the builder object

executable

public B executable()
Sets this executable.

Returns:
the builder object

camundaJobPriority

public B camundaJobPriority(String jobPriority)

camundaTaskPriority

public B camundaTaskPriority(String taskPriority)
Set the camunda task priority attribute. The priority is only used for service tasks which have as type value external

Parameters:
taskPriority - the task priority which should used for the external tasks
Returns:
the builder object


Copyright © 2016 camunda services GmbH. All rights reserved.