Interface TaskEntry.OperationalStrategy<ScopeT>
public static interface TaskEntry.OperationalStrategy<ScopeT>
An operational strategy, which defines a list of tasks.
-
Method Summary
Modifier and TypeMethodDescriptiondefault booleanImplements the add task operation.default booleandefault booleandoDeleteTask(TaskEntry<ScopeT> taskEntry, TaskId taskId) Deletes the task with the suppliedTaskId.doFindScope(TaskEntry<ScopeT> taskEntry) Finds the scope of the task entry.default Map<TaskId, TransactionalTask> doGetTasksImmutable(TaskEntry<ScopeT> taskEntry) Gets theTransactionalTasks associated with this entry.
-
Method Details
-
doFindScope
Finds the scope of the task entry.- Parameters:
taskEntry-- Returns:
-
doGetTasksImmutable
Gets theTransactionalTasks associated with this entry.- Parameters:
taskEntry-- Returns:
-
doAddTask
Implements the add task operation.- Parameters:
taskEntry- the task entrytaskId- the task IDtimestamp- the timestamp
-
doDeleteTask
Deletes the task with the suppliedTaskId.- Parameters:
taskEntry- the task entrytaskId- the task ID
-
doDelete
- Parameters:
taskEntry-- Returns:
-