Enum ReferralsPolicyEnum

java.lang.Object
java.lang.Enum<ReferralsPolicyEnum>
org.apache.directory.api.ldap.model.message.ReferralsPolicyEnum
All Implemented Interfaces:
Serializable, Comparable<ReferralsPolicyEnum>

public enum ReferralsPolicyEnum extends Enum<ReferralsPolicyEnum>
An enum describing the three possible actions for referrals :
  • Ignore : The referrals will be retruned as is (ie, the 'ref' attribute type will be present in the entry
  • Follow : The referral will be chased by the client
  • Throws : An LdapReferralException will be thrown
Author:
Apache Directory Project
  • Enum Constant Details

  • Method Details

    • values

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

      public static ReferralsPolicyEnum valueOf(String name)
      Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type has no constant with the specified name
      NullPointerException - if the argument is null