public enum ReferralsHandling extends Enum<ReferralsHandling>
| Enum Constant and Description |
|---|
FOLLOW
Automatically search in suggested referrals
|
IGNORE
Don't search in suggested referrals
|
THROW
Throws an exception when a referral is encountered
|
| Modifier and Type | Method and Description |
|---|---|
static ReferralsHandling |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ReferralsHandling[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ReferralsHandling FOLLOW
public static final ReferralsHandling IGNORE
public static final ReferralsHandling THROW
public static ReferralsHandling[] values()
for (ReferralsHandling c : ReferralsHandling.values()) System.out.println(c);
public static ReferralsHandling 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 © 2020. All rights reserved.