Class ActivityBasedTaskInformation
java.lang.Object
com.evolveum.midpoint.schema.util.task.TaskInformation
com.evolveum.midpoint.schema.util.task.ActivityBasedTaskInformation
- All Implemented Interfaces:
DebugDumpable,Serializable
Implementation of
TaskInformation based on new, activity-based tasks.
Assumes knowledge of both root and current task.- See Also:
-
Field Summary
Fields inherited from class com.evolveum.midpoint.schema.util.task.TaskInformation
overallStatus, task, workersInformationFields inherited from interface com.evolveum.midpoint.util.DebugDumpable
INDENT_STRING -
Method Summary
Modifier and TypeMethodDescriptiondebugDump(int indent) Returns number of items failed to be processed by the task and its children, if known.Returns the "end timestamp" with the analogous semantics toTaskInformation.getStartTimestamp().We assume the token is directly in the task provided.getProgressDescription(boolean longForm) @NotNull ActivityProgressInformationReturns the "start timestamp", whatever that means.Methods inherited from class com.evolveum.midpoint.schema.util.task.TaskInformation
createForTask, getCompletelyStalledSince, getNodesDescription, getProgressDescriptionShort, getResultStatus, getTaskMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.evolveum.midpoint.util.DebugDumpable
debugDump, debugDumpLazily, debugDumpLazily
-
Method Details
-
getProgressDescription
- Specified by:
getProgressDescriptionin classTaskInformation
-
getAllErrors
Description copied from class:TaskInformationReturns number of items failed to be processed by the task and its children, if known. BEWARE: Fatal errors (e.g. resource not found for import task) are not counted here.- Specified by:
getAllErrorsin classTaskInformation
-
getStartTimestamp
Description copied from class:TaskInformationReturns the "start timestamp", whatever that means. Currently it is the execution start for trivial tasks (a single non-bucketed activity, or a legacy task); and realization start otherwise.- Specified by:
getStartTimestampin classTaskInformation
-
getEndTimestamp
Description copied from class:TaskInformationReturns the "end timestamp" with the analogous semantics toTaskInformation.getStartTimestamp().- Specified by:
getEndTimestampin classTaskInformation
-
debugDump
- Specified by:
debugDumpin interfaceDebugDumpable- Overrides:
debugDumpin classTaskInformation
-
getLiveSyncToken
We assume the token is directly in the task provided.- Specified by:
getLiveSyncTokenin classTaskInformation
-
getProgressInformation
-