|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<ReferralHandlingMode>
org.apache.directory.server.core.ReferralHandlingMode
public enum ReferralHandlingMode
Enumeration for referral handling modes.
Enum Constant Summary | |
---|---|
FOLLOW
|
|
IGNORE
|
|
THROW
|
|
THROW_FINDING_BASE
|
Method Summary | |
---|---|
java.lang.String |
getJndiValue()
Gets the equivalent JNDI Context.REFERRAL key's value for this enumeration constant. |
static ReferralHandlingMode |
getModeFromJndi(java.lang.String jndiValue)
Gets the enumeration constant for the JNDI Context.REFERRAL key's value. |
static ReferralHandlingMode |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static ReferralHandlingMode[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
Methods inherited from class java.lang.Enum |
---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final ReferralHandlingMode THROW
public static final ReferralHandlingMode FOLLOW
public static final ReferralHandlingMode IGNORE
public static final ReferralHandlingMode THROW_FINDING_BASE
Method Detail |
---|
public static ReferralHandlingMode[] values()
for (ReferralHandlingMode c : ReferralHandlingMode.values()) System.out.println(c);
public static ReferralHandlingMode valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.
java.lang.IllegalArgumentException
- if this enum type has no constant
with the specified name
java.lang.NullPointerException
- if the argument is nullpublic java.lang.String getJndiValue()
Context#REFERRAL}
public static final ReferralHandlingMode getModeFromJndi(java.lang.String jndiValue)
jndiValue
- the JNDI Context.REFERRAL key's value
java.lang.IllegalArgumentException
- if the value is not a recognized valueContext#REFERRAL}
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |