Class ServiceTaskImpl
- java.lang.Object
-
- org.camunda.bpm.model.xml.impl.instance.ModelElementInstanceImpl
-
- org.camunda.bpm.model.bpmn.impl.instance.BpmnModelElementInstanceImpl
-
- org.camunda.bpm.model.bpmn.impl.instance.BaseElementImpl
-
- org.camunda.bpm.model.bpmn.impl.instance.FlowElementImpl
-
- org.camunda.bpm.model.bpmn.impl.instance.FlowNodeImpl
-
- org.camunda.bpm.model.bpmn.impl.instance.ActivityImpl
-
- org.camunda.bpm.model.bpmn.impl.instance.TaskImpl
-
- org.camunda.bpm.model.bpmn.impl.instance.ServiceTaskImpl
-
- All Implemented Interfaces:
Activity
,BaseElement
,BpmnModelElementInstance
,FlowElement
,FlowNode
,InteractionNode
,ServiceTask
,Task
,ModelElementInstance
public class ServiceTaskImpl extends TaskImpl implements ServiceTask
The BPMN serviceTask element- Author:
- Sebastian Menski
-
-
Field Summary
Fields Modifier and Type Field Description protected static Attribute<String>
camundaClassAttribute
camunda extensionsprotected static Attribute<String>
camundaDelegateExpressionAttribute
protected static Attribute<String>
camundaExpressionAttribute
protected static Attribute<String>
camundaResultVariableAttribute
protected static Attribute<String>
camundaTaskPriorityAttribute
protected static Attribute<String>
camundaTopicAttribute
protected static Attribute<String>
camundaTypeAttribute
protected static Attribute<String>
implementationAttribute
protected static AttributeReference<Operation>
operationRefAttribute
-
Fields inherited from class org.camunda.bpm.model.bpmn.impl.instance.TaskImpl
camundaAsyncAttribute
-
Fields inherited from class org.camunda.bpm.model.bpmn.impl.instance.ActivityImpl
completionQuantityAttribute, dataInputAssociationCollection, dataOutputAssociationCollection, defaultAttribute, ioSpecificationChild, isForCompensationAttribute, loopCharacteristicsChild, propertyCollection, resourceRoleCollection, startQuantityAttribute
-
Fields inherited from class org.camunda.bpm.model.bpmn.impl.instance.FlowNodeImpl
camundaAsyncAfter, camundaAsyncBefore, camundaExclusive, camundaJobPriority, incomingCollection, outgoingCollection
-
Fields inherited from class org.camunda.bpm.model.bpmn.impl.instance.FlowElementImpl
auditingChild, categoryValueRefCollection, monitoringChild, nameAttribute
-
Fields inherited from class org.camunda.bpm.model.bpmn.impl.instance.BaseElementImpl
documentationCollection, extensionElementsChild, idAttribute
-
Fields inherited from class org.camunda.bpm.model.xml.impl.instance.ModelElementInstanceImpl
modelInstance
-
-
Constructor Summary
Constructors Constructor Description ServiceTaskImpl(ModelTypeInstanceContext context)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description ServiceTaskBuilder
builder()
Returns a new fluent builder for the element if implemented.String
getCamundaClass()
camunda extensionsString
getCamundaDelegateExpression()
String
getCamundaExpression()
String
getCamundaResultVariable()
String
getCamundaTaskPriority()
String
getCamundaTopic()
String
getCamundaType()
String
getImplementation()
Operation
getOperation()
static void
registerType(ModelBuilder modelBuilder)
void
setCamundaClass(String camundaClass)
void
setCamundaDelegateExpression(String camundaExpression)
void
setCamundaExpression(String camundaExpression)
void
setCamundaResultVariable(String camundaResultVariable)
void
setCamundaTaskPriority(String taskPriority)
void
setCamundaTopic(String camundaTopic)
void
setCamundaType(String camundaType)
void
setImplementation(String implementation)
void
setOperation(Operation operation)
-
Methods inherited from class org.camunda.bpm.model.bpmn.impl.instance.TaskImpl
getDiagramElement, isCamundaAsync, setCamundaAsync
-
Methods inherited from class org.camunda.bpm.model.bpmn.impl.instance.ActivityImpl
getCompletionQuantity, getDataInputAssociations, getDataOutputAssociations, getDefault, getIoSpecification, getLoopCharacteristics, getProperties, getResourceRoles, getStartQuantity, isForCompensation, setCompletionQuantity, setDefault, setForCompensation, setIoSpecification, setLoopCharacteristics, setStartQuantity
-
Methods inherited from class org.camunda.bpm.model.bpmn.impl.instance.FlowNodeImpl
getCamundaJobPriority, getIncoming, getOutgoing, getPreviousNodes, getSucceedingNodes, isCamundaAsyncAfter, isCamundaAsyncBefore, isCamundaExclusive, setCamundaAsyncAfter, setCamundaAsyncBefore, setCamundaExclusive, setCamundaJobPriority, updateAfterReplacement
-
Methods inherited from class org.camunda.bpm.model.bpmn.impl.instance.FlowElementImpl
getAuditing, getCategoryValueRefs, getMonitoring, getName, setAuditing, setMonitoring, setName
-
Methods inherited from class org.camunda.bpm.model.bpmn.impl.instance.BaseElementImpl
getDocumentations, getExtensionElements, getId, getIncomingReferencesByType, setExtensionElements, setId
-
Methods inherited from class org.camunda.bpm.model.bpmn.impl.instance.BpmnModelElementInstanceImpl
getScope, isScope
-
Methods inherited from class org.camunda.bpm.model.xml.impl.instance.ModelElementInstanceImpl
addChildElement, asSet, equals, getAttributeValue, getAttributeValueNs, getChildElementsByType, getChildElementsByType, getDomElement, getElementType, getModelInstance, getParentElement, getRawTextContent, getTextContent, getUniqueChildElementByNameNs, getUniqueChildElementByType, hashCode, insertElementAfter, removeAttribute, removeAttributeNs, removeChildElement, replaceChildElement, replaceWithElement, setAttributeValue, setAttributeValue, setAttributeValue, setAttributeValueNs, setAttributeValueNs, setAttributeValueNs, setTextContent, setUniqueChildElementByNameNs
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.camunda.bpm.model.bpmn.instance.Activity
getCompletionQuantity, getDataInputAssociations, getDataOutputAssociations, getDefault, getIoSpecification, getLoopCharacteristics, getProperties, getResourceRoles, getStartQuantity, isForCompensation, setCompletionQuantity, setDefault, setForCompensation, setIoSpecification, setLoopCharacteristics, setStartQuantity
-
Methods inherited from interface org.camunda.bpm.model.bpmn.instance.BaseElement
getDocumentations, getExtensionElements, getId, setExtensionElements, setId
-
Methods inherited from interface org.camunda.bpm.model.bpmn.instance.BpmnModelElementInstance
getScope, isScope
-
Methods inherited from interface org.camunda.bpm.model.bpmn.instance.FlowElement
getAuditing, getCategoryValueRefs, getMonitoring, getName, setAuditing, setMonitoring, setName
-
Methods inherited from interface org.camunda.bpm.model.bpmn.instance.FlowNode
getCamundaJobPriority, getIncoming, getOutgoing, getPreviousNodes, getSucceedingNodes, isCamundaAsyncAfter, isCamundaAsyncBefore, isCamundaExclusive, setCamundaAsyncAfter, setCamundaAsyncBefore, setCamundaExclusive, setCamundaJobPriority
-
Methods inherited from interface org.camunda.bpm.model.bpmn.instance.InteractionNode
getId, setId
-
Methods inherited from interface org.camunda.bpm.model.xml.instance.ModelElementInstance
addChildElement, getAttributeValue, getAttributeValueNs, getChildElementsByType, getChildElementsByType, getDomElement, getElementType, getModelInstance, getParentElement, getRawTextContent, getTextContent, getUniqueChildElementByNameNs, getUniqueChildElementByType, insertElementAfter, removeAttribute, removeAttributeNs, removeChildElement, replaceChildElement, replaceWithElement, setAttributeValue, setAttributeValue, setAttributeValue, setAttributeValueNs, setAttributeValueNs, setAttributeValueNs, setTextContent, setUniqueChildElementByNameNs, updateAfterReplacement
-
Methods inherited from interface org.camunda.bpm.model.bpmn.instance.Task
getDiagramElement, isCamundaAsync, setCamundaAsync
-
-
-
-
Field Detail
-
operationRefAttribute
protected static AttributeReference<Operation> operationRefAttribute
-
camundaDelegateExpressionAttribute
protected static Attribute<String> camundaDelegateExpressionAttribute
-
-
Constructor Detail
-
ServiceTaskImpl
public ServiceTaskImpl(ModelTypeInstanceContext context)
-
-
Method Detail
-
registerType
public static void registerType(ModelBuilder modelBuilder)
-
builder
public ServiceTaskBuilder builder()
Description copied from interface:BpmnModelElementInstance
Returns a new fluent builder for the element if implemented.- Specified by:
builder
in interfaceBpmnModelElementInstance
- Specified by:
builder
in interfaceFlowNode
- Specified by:
builder
in interfaceServiceTask
- Overrides:
builder
in classTaskImpl
- Returns:
- the builder object
-
getImplementation
public String getImplementation()
- Specified by:
getImplementation
in interfaceServiceTask
-
setImplementation
public void setImplementation(String implementation)
- Specified by:
setImplementation
in interfaceServiceTask
-
getOperation
public Operation getOperation()
- Specified by:
getOperation
in interfaceServiceTask
-
setOperation
public void setOperation(Operation operation)
- Specified by:
setOperation
in interfaceServiceTask
-
getCamundaClass
public String getCamundaClass()
camunda extensions- Specified by:
getCamundaClass
in interfaceServiceTask
-
setCamundaClass
public void setCamundaClass(String camundaClass)
- Specified by:
setCamundaClass
in interfaceServiceTask
-
getCamundaDelegateExpression
public String getCamundaDelegateExpression()
- Specified by:
getCamundaDelegateExpression
in interfaceServiceTask
-
setCamundaDelegateExpression
public void setCamundaDelegateExpression(String camundaExpression)
- Specified by:
setCamundaDelegateExpression
in interfaceServiceTask
-
getCamundaExpression
public String getCamundaExpression()
- Specified by:
getCamundaExpression
in interfaceServiceTask
-
setCamundaExpression
public void setCamundaExpression(String camundaExpression)
- Specified by:
setCamundaExpression
in interfaceServiceTask
-
getCamundaResultVariable
public String getCamundaResultVariable()
- Specified by:
getCamundaResultVariable
in interfaceServiceTask
-
setCamundaResultVariable
public void setCamundaResultVariable(String camundaResultVariable)
- Specified by:
setCamundaResultVariable
in interfaceServiceTask
-
getCamundaTopic
public String getCamundaTopic()
- Specified by:
getCamundaTopic
in interfaceServiceTask
-
setCamundaTopic
public void setCamundaTopic(String camundaTopic)
- Specified by:
setCamundaTopic
in interfaceServiceTask
-
getCamundaType
public String getCamundaType()
- Specified by:
getCamundaType
in interfaceServiceTask
-
setCamundaType
public void setCamundaType(String camundaType)
- Specified by:
setCamundaType
in interfaceServiceTask
-
getCamundaTaskPriority
public String getCamundaTaskPriority()
- Specified by:
getCamundaTaskPriority
in interfaceServiceTask
-
setCamundaTaskPriority
public void setCamundaTaskPriority(String taskPriority)
- Specified by:
setCamundaTaskPriority
in interfaceServiceTask
-
-