Class LegacyTaskInformation
java.lang.Object
com.evolveum.midpoint.schema.util.task.TaskInformation
com.evolveum.midpoint.schema.util.task.LegacyTaskInformation
- All Implemented Interfaces:
- DebugDumpable,- Serializable
The 
TaskInformation based on a legacy task structure. Very limited.- See Also:
- 
Field SummaryFields inherited from class com.evolveum.midpoint.schema.util.task.TaskInformationoverallStatus, task, workersInformationFields inherited from interface com.evolveum.midpoint.util.DebugDumpableINDENT_STRING
- 
Method SummaryModifier and TypeMethodDescriptionstatic @NotNull TaskInformationfromLegacyTaskOrNoTask(@Nullable TaskType task) 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().getProgressDescription(boolean longForm) Returns the "start timestamp", whatever that means.Methods inherited from class com.evolveum.midpoint.schema.util.task.TaskInformationcreateForTask, debugDump, getCompletelyStalledSince, getNodesDescription, getProgressDescriptionShort, getResultStatus, getTaskMethods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.evolveum.midpoint.util.DebugDumpabledebugDump, debugDumpLazily, debugDumpLazily
- 
Method Details- 
fromLegacyTaskOrNoTask@NotNull public static @NotNull TaskInformation fromLegacyTaskOrNoTask(@Nullable @Nullable TaskType task) 
- 
getProgressDescription- Specified by:
- getProgressDescriptionin class- TaskInformation
 
- 
getAllErrorsDescription 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 class- TaskInformation
 
- 
getStartTimestampDescription 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 class- TaskInformation
 
- 
getEndTimestampDescription copied from class:TaskInformationReturns the "end timestamp" with the analogous semantics toTaskInformation.getStartTimestamp().- Specified by:
- getEndTimestampin class- TaskInformation
 
- 
getLiveSyncToken- Specified by:
- getLiveSyncTokenin class- TaskInformation
 
 
-