public enum Index extends Enum<Index>
| Modifier and Type | Method and Description |
|---|---|
boolean |
isEnabled() |
boolean |
isLocalOnly() |
static Index |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Index[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Index NONE
public static final Index LOCAL
public static final Index ALL
public static Index[] values()
for (Index c : Index.values()) System.out.println(c);
public static Index 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 isEnabled()
public boolean isLocalOnly()
Copyright © 2017 JBoss, a division of Red Hat. All rights reserved.