public enum Distro extends Enum<Distro>
| Enum Constant and Description |
|---|
AMAZON |
CENTOS |
DEBIAN |
REDHAT |
UBUNTU |
| Modifier and Type | Method and Description |
|---|---|
String |
getName() |
static Distro |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Distro[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static Distro[] values()
for (Distro c : Distro.values()) System.out.println(c);
public static Distro 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 © 2004–2014 The Kuali Foundation. All rights reserved.