public enum Index extends Enum<Index>
Enum Constant and Description |
---|
ALL |
LOCAL |
NONE |
PRIMARY_OWNER |
Modifier and Type | Method and Description |
---|---|
boolean |
isEnabled() |
boolean |
isLocalOnly() |
boolean |
isPrimaryOwner() |
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 final Index PRIMARY_OWNER
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()
public boolean isPrimaryOwner()
Copyright © 2017 JBoss, a division of Red Hat. All rights reserved.