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