Enum Class EnumTargetOperator

java.lang.Object
java.lang.Enum<EnumTargetOperator>
org.opends.server.authorization.dseecompat.EnumTargetOperator
All Implemented Interfaces:
Serializable, Comparable<EnumTargetOperator>, java.lang.constant.Constable

public enum EnumTargetOperator extends Enum<EnumTargetOperator>
This class provides an enumeration of the valid ACI target operators.
  • Enum Constant Details

    • EQUALITY

      public static final EnumTargetOperator EQUALITY
      This enumeration is returned when the target operator is "=".
    • NOT_EQUALITY

      public static final EnumTargetOperator NOT_EQUALITY
      This enumeration is returned when the target operator is "!=".
  • Method Details

    • values

      public static EnumTargetOperator[] 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 EnumTargetOperator 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
    • createOperator

      public static EnumTargetOperator createOperator(String op)
      Creates an enumeration of the specified operator type name.
      Parameters:
      op - The operator type name to create.
      Returns:
      Return an enumeration of the operator type name or null if the name is invalid.