Enum Class RoleAnalysisOperationMode

java.lang.Object
java.lang.Enum<RoleAnalysisOperationMode>
com.evolveum.midpoint.common.mining.utils.values.RoleAnalysisOperationMode
All Implemented Interfaces:
Serializable, Comparable<RoleAnalysisOperationMode>, Constable

public enum RoleAnalysisOperationMode extends Enum<RoleAnalysisOperationMode> implements Serializable
Enumeration representing different operation modes for role analysis.

This enum provides operation modes for role analysis, including EXCLUDE, INCLUDE, and DISABLE. Additionally, it provides methods for toggling the status and checking the current mode.

  • Enum Constant Details

  • Method Details

    • values

      public static RoleAnalysisOperationMode[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static RoleAnalysisOperationMode valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null
    • getDisplayString

      public String getDisplayString()
    • toggleStatus

      public RoleAnalysisOperationMode toggleStatus()
      Toggle the operation mode status. If it is EXCLUDE, it will be changed to INCLUDE. If it is DISABLE, it will remain DISABLE.
      Returns:
      The toggled operation mode.
    • isInclude

      public boolean isInclude()
    • isDisable

      public boolean isDisable()
    • isExclude

      public boolean isExclude()