public static enum Utils.HPCCEnvOSCode extends Enum<Utils.HPCCEnvOSCode>
| Enum Constant and Description |
|---|
MachineOsLinux |
MachineOsSolaris |
MachineOsUnknown |
MachineOsW2K |
| Modifier and Type | Method and Description |
|---|---|
static Utils.HPCCEnvOSCode |
fromCode(int code)
From code.
|
Utils.HPCCEnvOSCode |
fromName(String name)
From name.
|
int |
getCode()
Gets the code.
|
String |
getName()
Gets the name.
|
static Utils.HPCCEnvOSCode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Utils.HPCCEnvOSCode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Utils.HPCCEnvOSCode MachineOsW2K
public static final Utils.HPCCEnvOSCode MachineOsSolaris
public static final Utils.HPCCEnvOSCode MachineOsLinux
public static final Utils.HPCCEnvOSCode MachineOsUnknown
public static Utils.HPCCEnvOSCode[] values()
for (Utils.HPCCEnvOSCode c : Utils.HPCCEnvOSCode.values()) System.out.println(c);
public static Utils.HPCCEnvOSCode 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 Utils.HPCCEnvOSCode fromName(String name)
name - the namepublic static Utils.HPCCEnvOSCode fromCode(int code)
code - the codepublic int getCode()
public String getName()
Copyright © 2021. All rights reserved.