public enum Avail extends Enum<Avail>
| Modifier and Type | Method and Description |
|---|---|
static Avail |
fromNumericValue(int val) |
int |
getNumericValue() |
static Avail |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Avail[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Avail UP
public static final Avail DOWN
public static final Avail UNKNOWN
public static Avail[] values()
for (Avail c : Avail.values()) System.out.println(c);
public static Avail 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 int getNumericValue()
public static Avail fromNumericValue(int val)
Copyright © 2015 Red Hat, Inc.. All rights reserved.