org.camunda.bpm.model.bpmn.builder
Class AbstractServiceTaskBuilder<B extends AbstractServiceTaskBuilder<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.AbstractFlowElementBuilder<B,E>
              extended by org.camunda.bpm.model.bpmn.builder.AbstractFlowNodeBuilder<B,E>
                  extended by org.camunda.bpm.model.bpmn.builder.AbstractActivityBuilder<B,E>
                      extended by org.camunda.bpm.model.bpmn.builder.AbstractTaskBuilder<B,ServiceTask>
                          extended by org.camunda.bpm.model.bpmn.builder.AbstractServiceTaskBuilder<B>
Direct Known Subclasses:
ServiceTaskBuilder

public abstract class AbstractServiceTaskBuilder<B extends AbstractServiceTaskBuilder<B>>
extends AbstractTaskBuilder<B,ServiceTask>

Author:
Sebastian Menski

Field Summary
 
Fields inherited from class org.camunda.bpm.model.bpmn.builder.AbstractBpmnModelElementBuilder
element, modelInstance, myself
 
Constructor Summary
protected AbstractServiceTaskBuilder(BpmnModelInstance modelInstance, ServiceTask element, Class<?> selfType)
           
 
Method Summary
 B camundaClass(String camundaClass)
          Sets the camunda class attribute.
 B camundaDelegateExpression(String camundaExpression)
          Sets the camunda delegateExpression attribute.
 B camundaExpression(String camundaExpression)
          Sets the camunda expression attribute.
 B camundaResultVariable(String camundaResultVariable)
          Sets the camunda resultVariable attribute.
 B camundaType(String camundaType)
          Sets the camunda type attribute.
 B implementation(String implementation)
          Sets the implementation of the build service task.
 
Methods inherited from class org.camunda.bpm.model.bpmn.builder.AbstractTaskBuilder
camundaAsync, camundaAsync
 
Methods inherited from class org.camunda.bpm.model.bpmn.builder.AbstractFlowNodeBuilder
businessRuleTask, businessRuleTask, callActivity, callActivity, camundaAsyncAfter, camundaAsyncAfter, camundaAsyncBefore, camundaAsyncBefore, camundaExclusive, condition, connectTo, endEvent, endEvent, eventBasedGateway, exclusiveGateway, exclusiveGateway, findLastGateway, intermediateCatchEvent, intermediateCatchEvent, manualTask, manualTask, moveToLastGateway, moveToNode, notCamundaExclusive, parallelGateway, parallelGateway, receiveTask, receiveTask, scriptTask, scriptTask, sendTask, sendTask, sequenceFlowId, serviceTask, serviceTask, subProcess, subProcess, 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, createChild, createChild, createInstance, createInstance, createSibling, createSibling, id
 
Methods inherited from class org.camunda.bpm.model.bpmn.builder.AbstractBpmnModelElementBuilder
done, subProcessDone
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AbstractServiceTaskBuilder

protected AbstractServiceTaskBuilder(BpmnModelInstance modelInstance,
                                     ServiceTask element,
                                     Class<?> selfType)
Method Detail

implementation

public B implementation(String implementation)
Sets the implementation of the build service task.

Parameters:
implementation - the implementation to set
Returns:
the builder object

camundaClass

public B camundaClass(String camundaClass)
Sets the camunda class attribute.

Parameters:
camundaClass - the class name to set
Returns:
the builder object

camundaDelegateExpression

public B camundaDelegateExpression(String camundaExpression)
Sets the camunda delegateExpression attribute.

Parameters:
camundaExpression - the delegateExpression to set
Returns:
the builder object

camundaExpression

public B camundaExpression(String camundaExpression)
Sets the camunda expression attribute.

Parameters:
camundaExpression - the expression to set
Returns:
the builder object

camundaResultVariable

public B camundaResultVariable(String camundaResultVariable)
Sets the camunda resultVariable attribute.

Parameters:
camundaResultVariable - the name of the process variable
Returns:
the builder object

camundaType

public B camundaType(String camundaType)
Sets the camunda type attribute.

Parameters:
camundaType - the type of the service task
Returns:
the builder object


Copyright © 2014 camunda services GmbH. All rights reserved.