Class TriggerKey
java.lang.Object
de.xima.fc.workflow.TriggerKey
- All Implemented Interfaces:
IUuidProviding, Serializable
The key of a workflow trigger that uniquely identifies it within the context of a process. Consists of the trigger's
UUID.
- Since:
- 7.0.0
- Author:
- XIMA MEDIA GmbH
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionbooleanDeprecated.getType()Gets the type of this key, alwaysEWorkflowElementType.TRIGGER.getUuid()Gets the UUID of the referenced trigger.inthashCode()static TriggerKeyof(WorkflowTrigger trigger) static TriggerKeystatic TriggerKeystatic TriggerKeyDeprecated.Useof(UUID)instead, the task UUID is not needed anymore and is ignored.voidsetTaskUuid(UUID taskUuid) Deprecated.Not used anymore, just thegetUuid()already uniquely identifies the trigger.toString()
-
Method Details
-
equals
-
getType
Gets the type of this key, alwaysEWorkflowElementType.TRIGGER.- Returns:
- The type of this key, always
EWorkflowElementType.TRIGGER.
-
getTaskUuid
Deprecated.Not used anymore, just thegetUuid()already uniquely identifies the trigger. This method will most likely return null.Gets the legacy task UUID, if available. This was used in older versions, but now only exists for backwards compatibility. The trigger UUID is already unique within the workflow, so the task UUID is not needed anymore.- Returns:
- The legacy task UUID if available, null otherwise.
-
setTaskUuid
Deprecated.Not used anymore, just thegetUuid()already uniquely identifies the trigger.Sets the legacy task UUID. This was used in older versions, but now only exists for backwards compatibility. The trigger UUID is already unique within the workflow, so the task UUID is not needed anymore.- Parameters:
taskUuid- The legacy task UUID to set, can be null.
-
getUuid
Gets the UUID of the referenced trigger.- Specified by:
getUuidin interfaceIUuidProviding- Returns:
- The UUID of the trigger.
-
hashCode
-
stringValue
- Returns:
- A string form of this key that can be parsed by
of(String).
-
toElementKey
- Returns:
- An element key for this trigger key.
-
toString
-
of
- Parameters:
value- Value as obtained bystringValue().- Returns:
- The key represented by the given string.
-
of
- Parameters:
triggerUuid- UUID of the trigger.- Returns:
- A new trigger key for a trigger in the given task.
-
of
- Parameters:
trigger- Trigger for which to get a key.- Returns:
- A new trigger key for a trigger in the given task.
-
of
Deprecated.Useof(UUID)instead, the task UUID is not needed anymore and is ignored.- Parameters:
taskUuid- UUID of the task to which the trigger belongs.triggerUuid- UUID of the trigger.- Returns:
- A new trigger key for a trigger in the given task.
-
getUuid()already uniquely identifies the trigger.