Class ActivityProgressInformation
- java.lang.Object
 - 
- com.evolveum.midpoint.schema.util.task.ActivityProgressInformation
 
 
- 
- All Implemented Interfaces:
 DebugDumpable,Serializable
public class ActivityProgressInformation extends Object implements DebugDumpable, Serializable
Summarized representation of a progress of an activity and its sub-activities. Examples: - 23% in 1/3 - 23% in 2/2 in 2/3 TODO optimize task reading: avoid doing that for completed subtasks TODO i8n- See Also:
 - Serialized Form
 
 
- 
- 
Nested Class Summary
Nested Classes Modifier and Type Class Description static classActivityProgressInformation.RealizationState 
- 
Field Summary
- 
Fields inherited from interface com.evolveum.midpoint.util.DebugDumpable
INDENT_STRING 
 - 
 
- 
Method Summary
- 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait 
- 
Methods inherited from interface com.evolveum.midpoint.util.DebugDumpable
debugDump, debugDumpLazily, debugDumpLazily 
 - 
 
 - 
 
- 
- 
Method Detail
- 
fromRootTask
@NotNull public static @NotNull ActivityProgressInformation fromRootTask(@NotNull @NotNull TaskType task, @NotNull @NotNull ActivityProgressInformationBuilder.InformationSource source)
Prepares the information from a root task. The task may or may not have its children resolved. 
- 
fromRootTask
@NotNull public static @NotNull ActivityProgressInformation fromRootTask(@NotNull @NotNull TaskType task, @NotNull @NotNull TaskResolver resolver, @NotNull @NotNull ActivityProgressInformationBuilder.InformationSource source)
Prepares the information from a root task. The task may or may not have its children resolved. Note: the `resolver` parameter is dubious. Consider removing it. 
- 
getActivityIdentifier
public String getActivityIdentifier()
 
- 
getActivityPath
@NotNull public @NotNull ActivityPath getActivityPath()
 
- 
getRealizationState
public ActivityProgressInformation.RealizationState getRealizationState()
 
- 
getBucketsProgress
public BucketsProgressInformation getBucketsProgress()
 
- 
getItemsProgress
public ItemsProgressInformation getItemsProgress()
 
- 
getChildren
@NotNull public @NotNull List<ActivityProgressInformation> getChildren()
 
- 
debugDump
public String debugDump(int indent)
- Specified by:
 debugDumpin interfaceDebugDumpable
 
- 
toHumanReadableString
public String toHumanReadableString(boolean longForm)
 
- 
isComplete
public boolean isComplete()
 
- 
isNotStarted
public boolean isNotStarted()
 
- 
checkConsistence
public void checkConsistence()
 
- 
getChild
public ActivityProgressInformation getChild(String identifier)
 
- 
getErrorsRecursive
public int getErrorsRecursive()
 
- 
getErrors
public int getErrors()
 
- 
find
public ActivityProgressInformation find(ActivityPath activityPath)
 
 - 
 
 -