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
ConstructorDescriptionRoleAnalysisProgressIncrement
(String title, int stepsCount) RoleAnalysisProgressIncrement
(String title, int stepsCount, @Nullable Runnable progressIncrementer) -
Method Summary
Modifier and TypeMethodDescriptionvoid
enterNewStep
(String subTitle) int
int
int
getTitle()
boolean
isActive()
void
void
log()
void
setActive
(boolean active) void
setActualStatus
(int actualStatus) void
setObjectId
(String objectId) void
setOperationCountToProcess
(int operationCountToProcess) void
toString()
-
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
-