public static enum HostHelper.OSType extends Enum<HostHelper.OSType>
HostPrms.osTypes. These
are the generic types representing more specific O/S types.| Modifier and Type | Method and Description |
|---|---|
protected static HostHelper.OSType |
toLocalOSType()
Returns the OSType for this JVM, based on system property os.name.
|
protected static HostHelper.OSType |
toOSType(String os)
Returns the OSType for the given O/S.
|
protected static HostHelper.OSType |
toOSType(String os,
Long key)
Returns the OSType for the given O/S name which is assumed to have
been obtained using the given parameter key.
|
static HostHelper.OSType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static HostHelper.OSType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final HostHelper.OSType unix
public static final HostHelper.OSType windows
public static HostHelper.OSType[] values()
for (HostHelper.OSType c : HostHelper.OSType.values()) System.out.println(c);
public static HostHelper.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 nameNullPointerException - if the argument is nullprotected static HostHelper.OSType toLocalOSType()
protected static HostHelper.OSType toOSType(String os)
protected static HostHelper.OSType toOSType(String os, Long key)
Copyright © 2010-2015 Pivotal Software, Inc. All rights reserved.