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
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean@Nullable StringGet the details of the log entry.@Nullable StringReturn the task's state associated to this log entry.inthashCode()withDetails(String details) withTaskState(String state) withTemporaryFilterId(String temporaryFilterId) withTemporaryFilterIds(List<String> temporaryFilterIds)
-
Field Details
-
EMPTY
-
-
Constructor Details
-
State
-
-
Method Details
-
withDetails
-
withTemporaryFilterId
-
withTemporaryFilterIds
-
withTaskState
-
getDetails
Get the details of the log entry. -
getTemporaryFilterIds
-
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
-