| Modifier and Type | Method and Description |
|---|---|
static ShellOs |
fromOsNameVersion(java.lang.String osName,
java.lang.String osVersion) |
static ShellOs |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ShellOs[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ShellOs LINUX
public static final ShellOs MAC
public static final ShellOs WINDOWS
public static ShellOs[] values()
for (ShellOs c : ShellOs.values()) System.out.println(c);
public static ShellOs valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is nullpublic static ShellOs fromOsNameVersion(java.lang.String osName, java.lang.String osVersion)
Copyright © Copyright 2006-2019 The Scriptella Project Team.