@Internal public static enum PlanAdvice.Kind extends Enum<PlanAdvice.Kind>
PlanAdvice
.Enum Constant and Description |
---|
ADVICE
Indicate the potential optimization.
|
WARNING
Indicate the potential risk.
|
Modifier and Type | Method and Description |
---|---|
static PlanAdvice.Kind |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PlanAdvice.Kind[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PlanAdvice.Kind WARNING
public static final PlanAdvice.Kind ADVICE
public static PlanAdvice.Kind[] values()
for (PlanAdvice.Kind c : PlanAdvice.Kind.values()) System.out.println(c);
public static PlanAdvice.Kind 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 © 2014–2024 The Apache Software Foundation. All rights reserved.