Interface HistoryEntry
-
public interface HistoryEntry
Holds information about one execution of aTaskExecution
.
The execution may, but does not need to, be already finished.- Since:
- taskplanner 3.0
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.util.List<java.lang.String>
getErrors()
Returns the list of errors of this execution.int
getExecutedSeriesCount()
Returns the number of series data sets that were executed in case the task has a series set.long
getExecutionFinishTime()
Returns the executionFinishTime of this Execution in milliseconds since January 1, 1970, 00:00:00 GMT.
The value can be 0 if the execution is still running or -1 if the execution did not finish normally.long
getExecutionStartTime()
Returns the time when execution was started in milliseconds since January 1, 1970, 00:00:00 GMT.int
getProgress()
Returns the progress of the task [0..100].java.util.List<java.lang.String>
getSkippedResultActions()
Returns the list of ids of result action that where not executed due to not fulfilled conditions.
-
-
-
Method Detail
-
getErrors
java.util.List<java.lang.String> getErrors()
Returns the list of errors of this execution.- Returns:
- the list of errors.
- Since:
- taskplanner 3.0
-
getSkippedResultActions
java.util.List<java.lang.String> getSkippedResultActions()
Returns the list of ids of result action that where not executed due to not fulfilled conditions.- Returns:
- the ids of result actions that were skipped.
- Since:
- taskplanner 3.0
-
getExecutedSeriesCount
int getExecutedSeriesCount()
Returns the number of series data sets that were executed in case the task has a series set. If no series is defined, -1 is returned.- Returns:
- the number of series data sets or -1 if the task is no series.
- Since:
- taskplanner 3.0
-
getExecutionStartTime
long getExecutionStartTime()
Returns the time when execution was started in milliseconds since January 1, 1970, 00:00:00 GMT.- Returns:
- the executionStartTime
- Since:
- taskplanner 3.0
-
getExecutionFinishTime
long getExecutionFinishTime()
Returns the executionFinishTime of this Execution in milliseconds since January 1, 1970, 00:00:00 GMT.
The value can be 0 if the execution is still running or -1 if the execution did not finish normally.- Returns:
- the executionFinishTime
- Since:
- taskplanner 3.0
-
getProgress
int getProgress()
Returns the progress of the task [0..100]. -1 means that the task has no progress, e.g. when not running.- Returns:
- the progress of the task.
- Since:
- taskplanner 3.0
-
-