Class ItemsProgressInformation
- java.lang.Object
-
- com.evolveum.midpoint.schema.util.task.ItemsProgressInformation
-
- All Implemented Interfaces:
DebugDumpable
,Serializable
public class ItemsProgressInformation extends Object implements DebugDumpable, Serializable
Task progress counted in items.- 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()
static ItemsProgressInformation
create(int totalProgress, Integer expectedTotal)
String
debugDump(int indent)
static ItemsProgressInformation
fromTask(TaskType task)
Integer
getExpectedTotal()
float
getPercentage()
int
getProgress()
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
-
create
public static ItemsProgressInformation create(int totalProgress, Integer expectedTotal)
-
fromTask
public static ItemsProgressInformation fromTask(TaskType task)
-
getProgress
public int getProgress()
-
getExpectedTotal
public Integer getExpectedTotal()
-
debugDump
public String debugDump(int indent)
- Specified by:
debugDump
in interfaceDebugDumpable
-
getPercentage
public float getPercentage()
-
checkConsistence
public void checkConsistence()
-
-