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.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
boolean
boolean
Toggle the operation mode status.static RoleAnalysisOperationMode
Returns the enum constant of this class with the specified name.static RoleAnalysisOperationMode[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
EXCLUDE
-
INCLUDE
-
DISABLE
-
-
Method Details
-
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
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 nameNullPointerException
- if the argument is null
-
getDisplayString
-
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()
-