public enum NameSpec extends Enum<NameSpec>
| Enum Constant and Description |
|---|
ALWAYS
the constraint name specified in any case
|
IF_REPRODUCIBLE
the is only specified, if it is reproducible (not an auto-generated random name)
|
NEVER
the constraint name is never specified
|
| Modifier and Type | Method and Description |
|---|---|
static NameSpec |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static NameSpec[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final NameSpec NEVER
public static final NameSpec IF_REPRODUCIBLE
public static final NameSpec ALWAYS
public static NameSpec[] values()
for (NameSpec c : NameSpec.values()) System.out.println(c);
public static NameSpec 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 nullCopyright © 2006–2014 Volker Bergmann. All rights reserved.