Class LogEntry.State
java.lang.Object
ch.tocco.nice2.tasks.api.progress.LogEntry.State
- Enclosing interface:
LogEntry
Additional state of a log entry to the flag `failed` or `completed`.
-
Field Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
Get the details of the log entry.Return the task's state associated to this log entry.int
hashCode()
withDetails
(String details) withTaskState
(String state)
-
Field Details
-
EMPTY
-
-
Method Details
-
withDetails
-
withTaskState
-
getDetails
Get the details of the log entry. -
getTaskState
Return the task's state associated to this log entry. This is some arbitrary value set by the task itself. It is not propagated to any ui, but a task can use this to store its current state, so when it is re-invoked after a system crash (for example) it can start from the last known state. -
equals
-
hashCode
public int hashCode()
-