Package org.kie.kogito.usertask
Interface UserTask
public interface UserTask
this is the definition of the user task. Properties are immutable
-
Method Summary
Modifier and TypeMethodDescriptionReturns admin groups that can administer this taskReturns admin users that can administer this taskReturns excluded users that cannot work on this taskReturns potential groups that can work on this taskReturns potential users that can work on this taskReturns reference name of the taskReturns optional description of the taskReturns name of the taskReturns optional priority of the taskid()name()
-
Method Details
-
createInstance
UserTaskInstance createInstance() -
instances
UserTaskInstances instances() -
id
String id() -
name
String name() -
getTaskName
String getTaskName()Returns name of the task- Returns:
- task name
-
getTaskDescription
String getTaskDescription()Returns optional description of the task- Returns:
- task description if present
-
getTaskPriority
String getTaskPriority()Returns optional priority of the task- Returns:
- task priority if present
-
getReferenceName
String getReferenceName()Returns reference name of the task- Returns:
- task reference
-
getPotentialUsers
Returns potential users that can work on this task- Returns:
- potential users
-
getPotentialGroups
Returns potential groups that can work on this task- Returns:
- potential groups
-
getAdminUsers
Returns admin users that can administer this task- Returns:
- admin users
-
getAdminGroups
Returns admin groups that can administer this task- Returns:
- admin groups
-
getExcludedUsers
Returns excluded users that cannot work on this task- Returns:
- excluded users
-
getNotStartedDeadlines
Collection<DeadlineInfo<Notification>> getNotStartedDeadlines() -
getNotCompletedDeadlines
Collection<DeadlineInfo<Notification>> getNotCompletedDeadlines() -
getNotStartedReassignments
Collection<DeadlineInfo<Reassignment>> getNotStartedReassignments() -
getNotCompletedReassignments
Collection<DeadlineInfo<Reassignment>> getNotCompletedReassignments() -
getAssignmentStrategy
UserTaskAssignmentStrategy getAssignmentStrategy()
-