public static enum Explain.Level extends Enum<Explain.Level>
Modifier and Type | Method and Description |
---|---|
boolean |
in(Explain.Level[] levels) |
static Explain.Level |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Explain.Level[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Explain.Level USER
public static final Explain.Level DEFAULT
public static final Explain.Level EXTENDED
public static Explain.Level[] values()
for (Explain.Level c : Explain.Level.values()) System.out.println(c);
public static Explain.Level 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 nullpublic boolean in(Explain.Level[] levels)
Copyright © 2017 The Apache Software Foundation. All rights reserved.