public enum OptionBehaviour extends Enum<OptionBehaviour>
Enum Constant and Description |
---|
CommaSeparatedStringArray
value is a comma separated string array - for List of String
|
CommaSeparatedVersionArray
value is a comma separated version array - for hashset of versions
|
DomainsPasswordMap
Map of password per domain
|
Password
value is a Password
|
ValueDependent
value is dependent in another value
|
Modifier and Type | Method and Description |
---|---|
static OptionBehaviour |
forValue(int value) |
int |
getValue() |
static OptionBehaviour |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static OptionBehaviour[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final OptionBehaviour Password
public static final OptionBehaviour CommaSeparatedStringArray
public static final OptionBehaviour ValueDependent
public static final OptionBehaviour CommaSeparatedVersionArray
public static final OptionBehaviour DomainsPasswordMap
public static OptionBehaviour[] values()
for (OptionBehaviour c : OptionBehaviour.values()) System.out.println(c);
public static OptionBehaviour 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 int getValue()
public static OptionBehaviour forValue(int value)
Copyright © 2012. All Rights Reserved.