public enum SwitchReason extends java.lang.Enum<SwitchReason>
| Enum Constant and Description |
|---|
CIRCUIT_BREAKER |
FAILBACK |
FORCED |
HEALTH_CHECK |
| Modifier and Type | Method and Description |
|---|---|
static SwitchReason |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static SwitchReason[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SwitchReason HEALTH_CHECK
public static final SwitchReason CIRCUIT_BREAKER
public static final SwitchReason FAILBACK
public static final SwitchReason FORCED
public static SwitchReason[] values()
for (SwitchReason c : SwitchReason.values()) System.out.println(c);
public static SwitchReason 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 namejava.lang.NullPointerException - if the argument is nullCopyright © 2025. All rights reserved.