public enum ReferralsPolicyEnum extends Enum<ReferralsPolicyEnum>
Enum Constant and Description |
---|
FOLLOW
Floow referral
|
IGNORE
Ignore referral
|
THROW
Throw an exception
|
Modifier and Type | Method and Description |
---|---|
static ReferralsPolicyEnum |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ReferralsPolicyEnum[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ReferralsPolicyEnum IGNORE
public static final ReferralsPolicyEnum FOLLOW
public static final ReferralsPolicyEnum THROW
public static ReferralsPolicyEnum[] values()
for (ReferralsPolicyEnum c : ReferralsPolicyEnum.values()) System.out.println(c);
public static ReferralsPolicyEnum valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullCopyright © 2003–2019 The Apache Software Foundation. All rights reserved.