Class RoleAnalysisProgressIncrement

java.lang.Object
com.evolveum.midpoint.common.mining.objects.handler.RoleAnalysisProgressIncrement
All Implemented Interfaces:
Serializable

public class RoleAnalysisProgressIncrement extends Object implements 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 Details

    • RoleAnalysisProgressIncrement

      public RoleAnalysisProgressIncrement(String title, int stepsCount)
    • RoleAnalysisProgressIncrement

      public RoleAnalysisProgressIncrement(String title, int stepsCount, @Nullable @Nullable Runnable progressIncrementer)
  • Method Details

    • getPercentage

      public int getPercentage()
    • getDuration

      public String getDuration()
    • iterateActualStatus

      public void iterateActualStatus()
    • enterNewStep

      public void enterNewStep(String subTitle)
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • log

      public void log()
    • setOperationCountToProcess

      public void setOperationCountToProcess(int operationCountToProcess)
    • isActive

      public boolean isActive()
    • setActive

      public void setActive(boolean active)
    • setTitle

      public void setTitle(String title)
    • getObjectId

      public String getObjectId()
    • getTitle

      public String getTitle()
    • getOperationCountToProcess

      public int getOperationCountToProcess()
    • getSubTitle

      public String getSubTitle()
    • getActualStatus

      public int getActualStatus()
    • setActualStatus

      public void setActualStatus(int actualStatus)
    • setObjectId

      public void setObjectId(String objectId)