Class LegacyTaskInformation
- java.lang.Object
-
- com.evolveum.midpoint.schema.util.task.TaskInformation
-
- com.evolveum.midpoint.schema.util.task.LegacyTaskInformation
-
- All Implemented Interfaces:
DebugDumpable,Serializable
public class LegacyTaskInformation extends TaskInformation
TheTaskInformationbased on a legacy task structure. Very limited.- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class com.evolveum.midpoint.schema.util.task.TaskInformation
overallStatus, task, workersInformation
-
Fields inherited from interface com.evolveum.midpoint.util.DebugDumpable
INDENT_STRING
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static @NotNull TaskInformationfromLegacyTaskOrNoTask(@Nullable TaskType task)IntegergetAllErrors()Returns number of items failed to be processed by the task and its children, if known.XMLGregorianCalendargetEndTimestamp()Returns the "end timestamp" with the analogous semantics toTaskInformation.getStartTimestamp().ObjectgetLiveSyncToken()StringgetProgressDescription(boolean longForm)XMLGregorianCalendargetStartTimestamp()Returns the "start timestamp", whatever that means.-
Methods inherited from class com.evolveum.midpoint.schema.util.task.TaskInformation
createForTask, debugDump, getCompletelyStalledSince, getNodesDescription, getProgressDescriptionShort, getResultStatus, getTask
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface com.evolveum.midpoint.util.DebugDumpable
debugDump, debugDumpLazily, debugDumpLazily
-
-
-
-
Method Detail
-
fromLegacyTaskOrNoTask
@NotNull public static @NotNull TaskInformation fromLegacyTaskOrNoTask(@Nullable @Nullable TaskType task)
-
getProgressDescription
public String getProgressDescription(boolean longForm)
- Specified by:
getProgressDescriptionin classTaskInformation
-
getAllErrors
public Integer 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
public XMLGregorianCalendar 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
public XMLGregorianCalendar getEndTimestamp()
Description copied from class:TaskInformationReturns the "end timestamp" with the analogous semantics toTaskInformation.getStartTimestamp().- Specified by:
getEndTimestampin classTaskInformation
-
getLiveSyncToken
public Object getLiveSyncToken()
- Specified by:
getLiveSyncTokenin classTaskInformation
-
-