public enum CommonOS extends Enum<CommonOS> implements de.flapdoodle.os.OS
| Enum Constant and Description |
|---|
FreeBSD |
Linux |
OS_X |
Solaris |
Windows |
| Modifier and Type | Method and Description |
|---|---|
List<? extends de.flapdoodle.os.Architecture> |
architectures() |
List<? extends de.flapdoodle.os.Distribution> |
distributions() |
static List<? extends de.flapdoodle.os.OS> |
list() |
List<de.flapdoodle.os.common.Peculiarity> |
pecularities() |
de.flapdoodle.os.OSType |
type() |
static CommonOS |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CommonOS[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CommonOS Linux
public static final CommonOS Windows
public static final CommonOS OS_X
public static final CommonOS Solaris
public static final CommonOS FreeBSD
public static CommonOS[] values()
for (CommonOS c : CommonOS.values()) System.out.println(c);
public static CommonOS 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 de.flapdoodle.os.Distribution> distributions()
distributions in interface de.flapdoodle.os.OSpublic List<? extends de.flapdoodle.os.Architecture> architectures()
architectures in interface de.flapdoodle.os.OSpublic de.flapdoodle.os.OSType type()
type in interface de.flapdoodle.os.OSpublic List<de.flapdoodle.os.common.Peculiarity> pecularities()
pecularities in interface de.flapdoodle.os.common.HasPecularitiespublic static List<? extends de.flapdoodle.os.OS> list()
Copyright © 2024. All rights reserved.