public enum OS extends Enum<OS> implements HasPecularities
| Enum Constant and Description |
|---|
FreeBSD |
Linux |
OS_X |
Solaris |
Windows |
| Modifier and Type | Method and Description |
|---|---|
List<? extends Architecture> |
architectures() |
List<? extends Distribution> |
distributions() |
List<Peculiarity<?>> |
pecularities() |
static OS |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static OS[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOfasListpublic static final OS Linux
public static final OS Windows
public static final OS OS_X
public static final OS Solaris
public static final OS FreeBSD
public static OS[] values()
for (OS c : OS.values()) System.out.println(c);
public static OS 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 List<? extends Distribution> distributions()
public List<? extends Architecture> architectures()
public List<Peculiarity<?>> pecularities()
pecularities in interface HasPecularitiesCopyright © 2021. All rights reserved.