Class TaskPartProgressInformation
- java.lang.Object
-
- com.evolveum.midpoint.schema.util.task.TaskPartProgressInformation
-
- All Implemented Interfaces:
DebugDumpable
,Serializable
public class TaskPartProgressInformation 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 TaskPartProgressInformation
fromPartProgress(TaskPartProgressType progress, Integer expectedTotal)
Owning task is internally partitioned.static TaskPartProgressInformation
fromPersistentSubtask(TaskType task)
Task is a persistent subtask of partitioned master.BucketsProgressInformation
getBucketsProgress()
ItemsProgressInformation
getItemsProgress()
String
getPartOrHandlerUri()
boolean
isComplete()
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
-
fromPersistentSubtask
public static TaskPartProgressInformation fromPersistentSubtask(TaskType task)
Task is a persistent subtask of partitioned master. It can be bucketed. But we assume no structured progress here.
-
fromPartProgress
public static TaskPartProgressInformation fromPartProgress(TaskPartProgressType progress, Integer expectedTotal)
Owning task is internally partitioned. We assume no buckets nor subtasks here.
-
getPartOrHandlerUri
public String getPartOrHandlerUri()
-
isComplete
public boolean isComplete()
-
getBucketsProgress
public BucketsProgressInformation getBucketsProgress()
-
getItemsProgress
public ItemsProgressInformation getItemsProgress()
-
debugDump
public String debugDump(int indent)
- Specified by:
debugDump
in interfaceDebugDumpable
-
toHumanReadableString
public String toHumanReadableString(boolean longForm)
-
checkConsistence
public void checkConsistence()
-
-