Class TasksTUI.Actions
java.lang.Object
com.guinetik.hexafun.examples.tasks.tui.TasksTUI.Actions
- Enclosing class:
- TasksTUI
Action implementations for each command.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic Result<TasksTUI.State>complete(TasksTUI.State state, String taskId) static Result<TasksTUI.State>create(TasksTUI.State state, String title, String desc) static Result<TasksTUI.State>delete(TasksTUI.State state, String taskId) static Result<TasksTUI.State>quickAction(TasksTUI.State state, int index) Quick action: advances task through workflow based on current statusstatic Result<TasksTUI.State>start(TasksTUI.State state, String taskId)
-
Constructor Details
-
Actions
public Actions()
-
-
Method Details
-
create
-
start
-
complete
-
delete
-
quickAction
Quick action: advances task through workflow based on current status
-