public static class Jmod.ResolutionWarningReason extends EnumeratedAttribute
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
DEPRECATED
String value indicating warnings are emitted for modules
marked as deprecated (but not deprecated for removal).
|
static java.lang.String |
INCUBATING
String value indicating warnings are emitted for modules
designated as "incubating" in the JDK.
|
static java.lang.String |
LEAVING
String value indicating warnings are emitted for modules
marked as deprecated for removal.
|
value
Constructor and Description |
---|
ResolutionWarningReason() |
Modifier and Type | Method and Description |
---|---|
java.lang.String[] |
getValues()
This is the only method a subclass needs to implement.
|
static Jmod.ResolutionWarningReason |
valueOf(java.lang.String s)
Converts a string to a
ResolutionWarningReason instance. |
containsValue, getIndex, getInstance, getValue, indexOfValue, setValue, toString
public static final java.lang.String DEPRECATED
public static final java.lang.String LEAVING
public static final java.lang.String INCUBATING
public java.lang.String[] getValues()
EnumeratedAttribute
getValues
in class EnumeratedAttribute
indexOfValue(String)
always return the same index for the same value.public static Jmod.ResolutionWarningReason valueOf(java.lang.String s)
ResolutionWarningReason
instance.s
- string to convertResolutionWarningReason
instance corresponding to
string argumentBuildException
- if argument is not a valid
ResolutionWarningReason
value