Class ElementWithTask<TElement>
- java.lang.Object
-
- de.xima.fc.workflow.processor.model.ElementWithTask<TElement>
-
- Type Parameters:
TElement- Type of the workflow element (trigger or node).
- All Implemented Interfaces:
IElementWithTask<TElement>,ITaskUuidProviding,Serializable
public final class ElementWithTask<TElement> extends Object implements IElementWithTask<TElement>
POJO implementation ofIElementWithTask.- Since:
- 7.0.0
- Author:
- XIMA MEDIA GmbH
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ElementWithTask(UUID taskUuid, TElement element)Creates a new POJO with the given data.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description TElementgetElement()UUIDgetTaskUuid()
-
-
-
Constructor Detail
-
ElementWithTask
public ElementWithTask(UUID taskUuid, TElement element)
Creates a new POJO with the given data.- Parameters:
taskUuid- Value returned byIElementWithTask.getTaskUuid()element- Value returned byIElementWithTask.getElement()
-
-
Method Detail
-
getElement
@Nullable public TElement getElement()
- Specified by:
getElementin interfaceIElementWithTask<TElement>- Returns:
- The instance of the wrapped workflow element.
-
getTaskUuid
@Nullable public UUID getTaskUuid()
- Specified by:
getTaskUuidin interfaceIElementWithTask<TElement>- Specified by:
getTaskUuidin interfaceITaskUuidProviding- Returns:
- The UUID that identifies the task to which the workflow element belongs.
-
-