public enum ParameterKind extends Enum<ParameterKind>
Java class for parameter-kind.
The following schema fragment specifies the expected content contained within this class.
<simpleType name="parameter-kind">
<restriction base="{http://www.w3.org/2001/XMLSchema}string">
<enumeration value="argument"/>
<enumeration value="system-property"/>
<enumeration value="environment-variable"/>
</restriction>
</simpleType>
| Enum Constant and Description |
|---|
ARGUMENT |
ENVIRONMENT_VARIABLE |
SYSTEM_PROPERTY |
| Modifier and Type | Method and Description |
|---|---|
static ParameterKind |
fromValue(String v) |
String |
value() |
static ParameterKind |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ParameterKind[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ParameterKind ARGUMENT
public static final ParameterKind SYSTEM_PROPERTY
public static final ParameterKind ENVIRONMENT_VARIABLE
public static ParameterKind[] values()
for (ParameterKind c : ParameterKind.values()) System.out.println(c);
public static ParameterKind 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 String value()
public static ParameterKind fromValue(String v)
Copyright © 2017 Yandex. All rights reserved.