Enum Class SearchScope.Enum

java.lang.Object
java.lang.Enum<SearchScope.Enum>
org.forgerock.opendj.ldap.SearchScope.Enum
All Implemented Interfaces:
Serializable, Comparable<SearchScope.Enum>, java.lang.constant.Constable
Enclosing class:
SearchScope

public static enum SearchScope.Enum extends Enum<SearchScope.Enum>
Contains equivalent values for the SearchScope values. This allows easily using SearchScope values with switch statements.

SearchScope itself is not an enum because search scopes are extensible, hence the UNKNOWN enum value.

  • Enum Constant Details

  • Method Details

    • values

      public static SearchScope.Enum[] 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 SearchScope.Enum 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