public enum Distribution extends Enum<Distribution>
Enum Constant and Description |
---|
ARCHLINUX |
CENTOS |
DEBIAN |
FEDORA |
UBUNTU |
UNRECOGNIZED |
Modifier and Type | Method and Description |
---|---|
static Distribution |
fromValue(String value) |
OsFamily |
osFamily() |
String |
value() |
static Distribution |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Distribution[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Distribution ARCHLINUX
public static final Distribution CENTOS
public static final Distribution DEBIAN
public static final Distribution FEDORA
public static final Distribution UBUNTU
public static final Distribution UNRECOGNIZED
public static Distribution[] values()
for (Distribution c : Distribution.values()) System.out.println(c);
public static Distribution 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 OsFamily osFamily()
public String value()
public static Distribution fromValue(String value)
Copyright © 2009-2016 The Apache Software Foundation. All Rights Reserved.