Package de.xima.fc.inbox.model
Class InvokableTaskModel
java.lang.Object
de.xima.fc.inbox.model.InvokableTaskModel
- All Implemented Interfaces:
Serializable
POJO Model for a workflow task / trigger that can be initiated by a user in the inbox.
- Since:
- 7.0.0
- Author:
- XIMA MEDIA GmbH
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionInvokableTaskModel
(WorkflowTask task, WorkflowTrigger trigger, String name) Creates a new POJO model with the given data. -
Method Summary
-
Constructor Details
-
InvokableTaskModel
Creates a new POJO model with the given data.- Parameters:
task
- The task as returned bygetTask()
.trigger
- The trigger as returned bygetTrigger()
.name
- The name as returned bygetName()
.
-
-
Method Details
-
getName
- Returns:
- The human-readable display name for this task, shown in the inbox.
-
getTask
- Returns:
- The workflow task that is run when initiated by the user.
-
getTrigger
- Returns:
- The trigger which belongs to the task that is run when initiated by the user.
-