public enum SpecMode extends Enum<SpecMode>
specMode
configuration property.| Enum Constant and Description |
|---|
JAKARTA
Jakarta EE4J spec mode for
jakarta value
of specMode property. |
JAVAEE
Java EE spec mode for
javaee value
of specMode property (default). |
| Modifier and Type | Field and Description |
|---|---|
static int |
COUNT
Spec mode enumeration elements count.
|
| Modifier and Type | Method and Description |
|---|---|
static SpecMode |
getSpecMode(String name)
Get spec plugin mode with corresponding name.
|
String |
grePrefix()
Returns group ID and package prefix for this mode.
|
static SpecMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SpecMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SpecMode JAVAEE
javaee value
of specMode property (default).public static final SpecMode JAKARTA
jakarta value
of specMode property.public static SpecMode[] values()
for (SpecMode c : SpecMode.values()) System.out.println(c);
public static SpecMode 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 SpecMode getSpecMode(String name)
name - name of spec plugin modeJAVAEE value when no appropriate value
was found.public String grePrefix()
'.' at the end.Copyright © 2017–2020 Oracle Corporation. All rights reserved.