Package org.flowable.cmmn.model

# Class ServiceTask

java.lang.Object
org.flowable.cmmn.model.BaseElement
org.flowable.cmmn.model.CmmnElement
org.flowable.cmmn.model.CaseElement
org.flowable.cmmn.model.PlanItemDefinition
org.flowable.cmmn.model.Task
org.flowable.cmmn.model.TaskWithFieldExtensions
org.flowable.cmmn.model.ServiceTask

All Implemented Interfaces:
  `HasExtensionAttributes`, `HasLifecycleListeners`

Direct Known Subclasses:
  `FormAwareServiceTask`, `HttpServiceTask`, `ScriptServiceTask`, `SendEventServiceTask`

public class ServiceTask extends TaskWithFieldExtensions

Author:
  Tijs Rademakers

- ## Field Summary

  Fields
  Modifier and Type
  Field
  Description
  `protected String`
  `implementation`
  `protected String`
  `implementationType`
  `static final String`
  `JAVA_TASK`
  `static final String`
  `MAIL_TASK`
  `protected String`
  `resultVariableName`
  `protected boolean`
  `storeResultVariableAsTransient`
  `protected String`
  `type`

  ### Fields inherited from class org.flowable.cmmn.model.TaskWithFieldExtensions

  `fieldExtensions`

  ### Fields inherited from class org.flowable.cmmn.model.Task

  `async, asyncLeave, asyncLeaveExclusive, blocking, blockingExpression, exclusive`

  ### Fields inherited from class org.flowable.cmmn.model.PlanItemDefinition

  `defaultControl, lifecycleListeners, planItemRef`

  ### Fields inherited from class org.flowable.cmmn.model.CaseElement

  `name, parent`

  ### Fields inherited from class org.flowable.cmmn.model.CmmnElement

  `documentation, documentationTextFormat`

  ### Fields inherited from class org.flowable.cmmn.model.BaseElement

  `attributes, extensionElements, id, xmlColumnNumber, xmlRowNumber`

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `ServiceTask()`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `ServiceTask`
  `clone()`
  `String`
  `getImplementation()`
  `String`
  `getImplementationType()`
  `String`
  `getResultVariableName()`
  `String`
  `getType()`
  `boolean`
  `isStoreResultVariableAsTransient()`
  `void`
  `setImplementation(String implementation)`
  `void`
  `setImplementationType(String implementationType)`
  `void`
  `setResultVariableName(String resultVariableName)`
  `void`
  `setStoreResultVariableAsTransient(boolean storeResultVariableAsTransient)`
  `void`
  `setType(String type)`
  `void`
  `setValues(ServiceTask otherElement)`

  ### Methods inherited from class org.flowable.cmmn.model.TaskWithFieldExtensions

  `getFieldExtensions, setFieldExtensions`

  ### Methods inherited from class org.flowable.cmmn.model.Task

  `getBlockingExpression, isAsync, isAsyncLeave, isAsyncLeaveExclusive, isBlocking, isExclusive, setAsync, setAsyncLeave, setAsyncLeaveExclusive, setBlocking, setBlockingExpression, setExclusive, setValues`

  ### Methods inherited from class org.flowable.cmmn.model.PlanItemDefinition

  `getDefaultControl, getLifecycleListeners, getPlanItemRef, setDefaultControl, setLifecycleListeners, setPlanItemRef, setValues, toString`

  ### Methods inherited from class org.flowable.cmmn.model.CaseElement

  `getName, getParent, getParentStage, setName, setParent`

  ### Methods inherited from class org.flowable.cmmn.model.CmmnElement

  `getDocumentation, getDocumentationTextFormat, setDocumentation, setDocumentationTextFormat, setValues`

  ### Methods inherited from class org.flowable.cmmn.model.BaseElement

  `addAttribute, addExtensionElement, getAttributes, getAttributeValue, getExtensionElements, getId, getXmlColumnNumber, getXmlRowNumber, setAttributes, setExtensionElements, setId, setValues, setXmlColumnNumber, setXmlRowNumber`

  ### Methods inherited from class java.lang.Object

  `equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait`

- ## Field Details

  - ### JAVA_TASK

    public static final String JAVA_TASK
    See Also:
      - Constant Field Values

  - ### MAIL_TASK

    public static final String MAIL_TASK
    See Also:
      - Constant Field Values

  - ### implementation

    protected String implementation

  - ### implementationType

    protected String implementationType

  - ### resultVariableName

    protected String resultVariableName

  - ### type

    protected String type

  - ### storeResultVariableAsTransient

    protected boolean storeResultVariableAsTransient

- ## Constructor Details

  - ### ServiceTask

    public ServiceTask()

- ## Method Details

  - ### getImplementation

    public String getImplementation()

  - ### setImplementation

    public void setImplementation(String implementation)

  - ### getImplementationType

    public String getImplementationType()

  - ### setImplementationType

    public void setImplementationType(String implementationType)

  - ### getResultVariableName

    public String getResultVariableName()

  - ### setResultVariableName

    public void setResultVariableName(String resultVariableName)

  - ### getType

    public String getType()

  - ### setType

    public void setType(String type)

  - ### isStoreResultVariableAsTransient

    public boolean isStoreResultVariableAsTransient()

  - ### setStoreResultVariableAsTransient

    public void setStoreResultVariableAsTransient(boolean storeResultVariableAsTransient)

  - ### clone

    public ServiceTask clone()
    Overrides:
      `clone` in class `Object`

  - ### setValues

    public void setValues(ServiceTask otherElement)