public static enum Types.OSFamliyType extends Enum<Types.OSFamliyType>
Enum Constant and Description |
---|
Linux |
Null |
Others |
UNRECOGNIZED |
Windows |
Modifier and Type | Method and Description |
---|---|
static Types.OSFamliyType |
fromValue(String v) |
static Types.OSFamliyType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Types.OSFamliyType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Types.OSFamliyType Windows
public static final Types.OSFamliyType Linux
public static final Types.OSFamliyType Others
public static final Types.OSFamliyType Null
public static final Types.OSFamliyType UNRECOGNIZED
public static Types.OSFamliyType[] values()
for (Types.OSFamliyType c : Types.OSFamliyType.values()) System.out.println(c);
public static Types.OSFamliyType 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 static Types.OSFamliyType fromValue(String v)
Copyright © 2009-2018 The Apache Software Foundation. All Rights Reserved.