Class RoleAnalysisProgressIncrement
java.lang.Object
com.evolveum.midpoint.common.mining.objects.handler.RoleAnalysisProgressIncrement
- All Implemented Interfaces:
Serializable
The `RoleAnalysisProgressIncrement` class provides a way to increment progress during role-mining operations. It allows for tracking the progress of each step within the role-mining process and provides information such as the title, subtitle, percentage completion, and duration.
Keeps the state of the role-mining activity (clustering, pattern detection, etc).
TODO what about serializability? Currently we assume we'll never use deserialized version of this class instance- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionRoleAnalysisProgressIncrement(String title, int stepsCount) RoleAnalysisProgressIncrement(String title, int stepsCount, @Nullable Runnable progressIncrementer) -
Method Summary
Modifier and TypeMethodDescriptionvoidenterNewStep(String subTitle) intintintgetTitle()booleanisActive()voidvoidlog()voidsetActive(boolean active) voidsetActualStatus(int actualStatus) voidsetObjectId(String objectId) voidsetOperationCountToProcess(int operationCountToProcess) voidtoString()
-
Constructor Details
-
RoleAnalysisProgressIncrement
-
RoleAnalysisProgressIncrement
-
-
Method Details
-
getPercentage
public int getPercentage() -
getDuration
-
iterateActualStatus
public void iterateActualStatus() -
enterNewStep
-
toString
-
log
public void log() -
setOperationCountToProcess
public void setOperationCountToProcess(int operationCountToProcess) -
isActive
public boolean isActive() -
setActive
public void setActive(boolean active) -
setTitle
-
getObjectId
-
getTitle
-
getOperationCountToProcess
public int getOperationCountToProcess() -
getSubTitle
-
getActualStatus
public int getActualStatus() -
setActualStatus
public void setActualStatus(int actualStatus) -
setObjectId
-