Class TaskProgressInformation
- java.lang.Object
-
- com.evolveum.midpoint.schema.util.task.TaskProgressInformation
-
- All Implemented Interfaces:
DebugDumpable
,Serializable
public class TaskProgressInformation extends Object implements DebugDumpable, Serializable
- See Also:
- Serialized Form
-
-
Field Summary
-
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 void
checkConsistence()
String
debugDump(int indent)
static TaskProgressInformation
fromTaskTree(TaskType task)
Precondition: the task contains fully retrieved and resolved subtasks.int
getAllPartsCount()
TaskPartProgressInformation
getCurrentPartInformation()
int
getCurrentPartNumber()
String
getCurrentPartUri()
Returns current part URI (for internally partitioned tasks) or handler URI (for physically partitioned tasks).Map<String,TaskPartProgressInformation>
getParts()
String
toHumanReadableString(boolean longForm)
String
toString()
-
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
-
fromTaskTree
public static TaskProgressInformation fromTaskTree(TaskType task)
Precondition: the task contains fully retrieved and resolved subtasks.
-
getAllPartsCount
public int getAllPartsCount()
-
getCurrentPartNumber
public int getCurrentPartNumber()
-
getCurrentPartUri
public String getCurrentPartUri()
Returns current part URI (for internally partitioned tasks) or handler URI (for physically partitioned tasks). TODO clarify
-
getCurrentPartInformation
public TaskPartProgressInformation getCurrentPartInformation()
-
getParts
public Map<String,TaskPartProgressInformation> getParts()
-
toHumanReadableString
public String toHumanReadableString(boolean longForm)
-
debugDump
public String debugDump(int indent)
- Specified by:
debugDump
in interfaceDebugDumpable
-
checkConsistence
public void checkConsistence()
-
-