Annotation Type ExternalTaskSubscription
-
@Documented @Target({TYPE,METHOD}) @Retention(RUNTIME) public @interface ExternalTaskSubscriptionAnnotation to subscribe the External Task Client to a topic.Heads-up:
- for attributes of type
String, the string $null$ is reserved and used as default value - for attributes of type
Long, the valueLong.MIN_VALUEis reserved and used as default value
- for attributes of type
-
-
Field Summary
Fields Modifier and Type Fields Description static longLONG_NULL_VALUEstatic java.lang.StringSTRING_NULL_VALUE
-
Optional Element Summary
Optional Elements Modifier and Type Optional Element Description booleanautoOpenjava.lang.StringbusinessKeybooleanincludeExtensionPropertiesbooleanlocalVariableslonglockDurationjava.lang.StringprocessDefinitionIdjava.lang.String[]processDefinitionIdInjava.lang.StringprocessDefinitionKeyjava.lang.String[]processDefinitionKeyInjava.lang.StringprocessDefinitionVersionTagExternalTaskSubscription.ProcessVariable[]processVariablesjava.lang.String[]tenantIdInjava.lang.StringtopicNameAlias forvalue().java.lang.StringvalueAlias fortopicName().java.lang.String[]variableNamesbooleanwithoutTenantId
-
-
-
Element Detail
-
autoOpen
boolean autoOpen
- Returns:
- autoOpen
true: the client immediately starts to fetch for External Tasksfalse: topic subscription can be opened after application start by callingSpringTopicSubscription.open()
- Default:
- true
-
-
-
topicName
@AliasFor("value") java.lang.String topicNameAlias forvalue().- Returns:
- topicName of the Service Task in the BPMN process model the client subscribes to
- Default:
- "$null$"
-
-
-
value
@AliasFor("topicName") java.lang.String valueAlias fortopicName().- Returns:
- topicName of the Service Task in the BPMN process model the client subscribes to
- Default:
- "$null$"
-
-
-
localVariables
boolean localVariables
- Returns:
- localVariables
whether or not variables from greater scope than the external task
should be fetched.
falsemeans all variables visible in the scope of the external task will be fetched,truemeans only local variables (to the scope of the external task) will be fetched
- Default:
- false
-
-
-
processVariables
ExternalTaskSubscription.ProcessVariable[] processVariables
- Returns:
- processVariables of which the external tasks to be retrieved are related to. Each
value is instance of
ExternalTaskSubscription.ProcessVariable
- Default:
- {@org.camunda.bpm.client.spring.annotation.ExternalTaskSubscription.ProcessVariable(name="$null$", value="$null$")}
-
-
-
includeExtensionProperties
boolean includeExtensionProperties
- Returns:
- includeExtensionProperties
whether or not to include custom extension properties for fetched
external tasks.
truemeans all extensionProperties defined in the external task activity will be provided.falsemeans custom extension properties are not available within the external-task-client. The default isfalse.
- Default:
- false
-
-