Package de.xima.fc.inbox.model
Class InvokableTaskModel
- java.lang.Object
-
- de.xima.fc.inbox.model.InvokableTaskModel
-
- All Implemented Interfaces:
Serializable
public final class InvokableTaskModel extends Object implements 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:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description InvokableTaskModel(WorkflowTask task, WorkflowTrigger trigger, String name)
Creates a new POJO model with the given data.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getName()
WorkflowTask
getTask()
WorkflowTrigger
getTrigger()
-
-
-
Constructor Detail
-
InvokableTaskModel
public InvokableTaskModel(WorkflowTask task, WorkflowTrigger trigger, String name)
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 Detail
-
getName
public String getName()
- Returns:
- The human-readable display name for this task, shown in the inbox.
-
getTask
public WorkflowTask getTask()
- Returns:
- The workflow task that is run when initiated by the user.
-
getTrigger
public WorkflowTrigger getTrigger()
- Returns:
- The trigger which belongs to the task that is run when initiated by the user.
-
-