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 SummaryConstructorsConstructorDescriptionRoleAnalysisProgressIncrement(String title, int stepsCount) RoleAnalysisProgressIncrement(String title, int stepsCount, @Nullable Runnable progressIncrementer) 
- 
Method SummaryModifier 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- 
getPercentagepublic int getPercentage()
- 
getDuration
- 
iterateActualStatuspublic void iterateActualStatus()
- 
enterNewStep
- 
toString
- 
logpublic void log()
- 
setOperationCountToProcesspublic void setOperationCountToProcess(int operationCountToProcess) 
- 
isActivepublic boolean isActive()
- 
setActivepublic void setActive(boolean active) 
- 
setTitle
- 
getObjectId
- 
getTitle
- 
getOperationCountToProcesspublic int getOperationCountToProcess()
- 
getSubTitle
- 
getActualStatuspublic int getActualStatus()
- 
setActualStatuspublic void setActualStatus(int actualStatus) 
- 
setObjectId
 
-