|
TEMERITY | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||
java.lang.Objectjava.lang.Enum<OsType>
us.temerity.pipeline.OsType
public enum OsType
The operating system type.
| Enum Constant Summary | |
|---|---|
MacOS
Apple's Macintosh OS. |
|
Unix
Linux and other UNIX flavors. |
|
Windows
Microsoft Windows. |
|
| Method Summary | |
|---|---|
static ArrayList<OsType> |
all()
Get the list of all possible values. |
static List<ArchType> |
getValidArchTypes(OsType os)
Gets a list of the architecture types that Pipeline considers valid for each operating system. |
boolean |
isValidArchType(ArchType arch)
Is the given ArchType valid for this OsType. |
static ArrayList<String> |
titles()
Get the list of human friendly string representation for all possible values. |
String |
toTitle()
Convert to a more human friendly string representation. |
static OsType |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static OsType[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
| Methods inherited from class java.lang.Enum |
|---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Enum Constant Detail |
|---|
public static final OsType Unix
public static final OsType Windows
public static final OsType MacOS
| Method Detail |
|---|
public static OsType[] values()
for (OsType c : OsType.values()) System.out.println(c);
public static OsType valueOf(String name)
name - the name of the enum constant to be returned.
IllegalArgumentException - if this enum type has no constant
with the specified name
NullPointerException - if the argument is nullpublic static ArrayList<OsType> all()
public static ArrayList<String> titles()
public static List<ArchType> getValidArchTypes(OsType os)
os - The OS type.public boolean isValidArchType(ArchType arch)
arch - The architecture being validatedpublic String toTitle()
|
TEMERITY | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||