-
- All Implemented Interfaces:
-
io.holunda.camunda.taskpool.api.business.WithCorrelations,io.holunda.camunda.taskpool.api.task.CamundaTaskEventType,io.holunda.camunda.taskpool.api.task.EngineTaskCommand,io.holunda.camunda.taskpool.api.task.TaskIdentity,io.holunda.camunda.taskpool.api.task.TaskIdentityWithPayloadAndCorrelations,io.holunda.camunda.taskpool.api.task.WithPayload,io.holunda.camunda.taskpool.api.task.WithTaskId
public final class UpdateAttributeTaskCommand implements TaskIdentityWithPayloadAndCorrelations, EngineTaskCommand
Command to change a task attribute.
-
-
Field Summary
Fields Modifier and Type Field Description private final Stringidprivate final Integerorderprivate final StringeventNameprivate final SourceReferencesourceReferenceprivate final StringtaskDefinitionKeyprivate final StringbusinessKeyprivate final VariableMappayloadprivate final VariableMapcorrelationsprivate Booleanenrichedprivate final Stringdescriptionprivate final DatedueDateprivate final DatefollowUpDateprivate final Stringnameprivate final Stringownerprivate final Integerpriority
-
Constructor Summary
Constructors Constructor Description UpdateAttributeTaskCommand(String id, Integer order, String eventName, SourceReference sourceReference, String taskDefinitionKey, String businessKey, VariableMap payload, VariableMap correlations, Boolean enriched, String description, Date dueDate, Date followUpDate, String name, String owner, Integer priority)
-
Method Summary
Modifier and Type Method Description StringgetId()Task id. IntegergetOrder()Used to order commands before sending in case multiple events are received from the engine for the same task in the same transaction. StringgetEventName()Event classification. SourceReferencegetSourceReference()Source reference, indicating why this task exists. StringgetTaskDefinitionKey()Task definition key aka task type. StringgetBusinessKey()Business key of the underlying process instance. VariableMapgetPayload()Task payload. VariableMapgetCorrelations()Task correlations. BooleangetEnriched()Enrichment flag. UnitsetEnriched(Boolean enriched)Enrichment flag. final StringgetDescription()Optional task name. final DategetDueDate()Optional task due date. final DategetFollowUpDate()Optional task follow-up date. final StringgetName()Optional task name. final StringgetOwner()Optional task owner (assignee). final IntegergetPriority()Optional task priority. -
-
Constructor Detail
-
UpdateAttributeTaskCommand
UpdateAttributeTaskCommand(String id, Integer order, String eventName, SourceReference sourceReference, String taskDefinitionKey, String businessKey, VariableMap payload, VariableMap correlations, Boolean enriched, String description, Date dueDate, Date followUpDate, String name, String owner, Integer priority)
-
-
Method Detail
-
getOrder
Integer getOrder()
Used to order commands before sending in case multiple events are received from the engine for the same task in the same transaction. Commands with lower order value are sent before commands with higher order value.
-
getEventName
String getEventName()
Event classification.
-
getSourceReference
SourceReference getSourceReference()
Source reference, indicating why this task exists.
-
getTaskDefinitionKey
String getTaskDefinitionKey()
Task definition key aka task type.
-
getBusinessKey
String getBusinessKey()
Business key of the underlying process instance. Will be ignored, since there is neither a reason to change a business key nor a easy way to get the changed one.
-
getPayload
VariableMap getPayload()
Task payload.
-
getCorrelations
VariableMap getCorrelations()
Task correlations.
-
getEnriched
Boolean getEnriched()
Enrichment flag.
-
setEnriched
Unit setEnriched(Boolean enriched)
Enrichment flag.
-
getDescription
final String getDescription()
Optional task name.
-
getDueDate
final Date getDueDate()
Optional task due date.
-
getFollowUpDate
final Date getFollowUpDate()
Optional task follow-up date.
-
getPriority
final Integer getPriority()
Optional task priority.
-
-
-
-