Class Jmod.ResolutionWarningReason
- java.lang.Object
- 
- org.apache.tools.ant.types.EnumeratedAttribute
- 
- org.apache.tools.ant.taskdefs.modules.Jmod.ResolutionWarningReason
 
 
- 
- Enclosing class:
- Jmod
 
 public static class Jmod.ResolutionWarningReason extends EnumeratedAttribute Permissible reasons for jmod creation to emit warnings.
- 
- 
Field SummaryFields Modifier and Type Field Description static java.lang.StringDEPRECATEDString value indicating warnings are emitted for modules marked as deprecated (but not deprecated for removal).static java.lang.StringINCUBATINGString value indicating warnings are emitted for modules designated as "incubating" in the JDK.static java.lang.StringLEAVINGString value indicating warnings are emitted for modules marked as deprecated for removal.- 
Fields inherited from class org.apache.tools.ant.types.EnumeratedAttributevalue
 
- 
 - 
Constructor SummaryConstructors Constructor Description ResolutionWarningReason()
 - 
Method SummaryModifier and Type Method Description java.lang.String[]getValues()This is the only method a subclass needs to implement.static Jmod.ResolutionWarningReasonvalueOf(java.lang.String s)Converts a string to aResolutionWarningReasoninstance.- 
Methods inherited from class org.apache.tools.ant.types.EnumeratedAttributecontainsValue, getIndex, getInstance, getValue, indexOfValue, setValue, toString
 
- 
 
- 
- 
- 
Field Detail- 
DEPRECATEDpublic static final java.lang.String DEPRECATED String value indicating warnings are emitted for modules marked as deprecated (but not deprecated for removal).- See Also:
- Constant Field Values
 
 - 
LEAVINGpublic static final java.lang.String LEAVING String value indicating warnings are emitted for modules marked as deprecated for removal.- See Also:
- Constant Field Values
 
 - 
INCUBATINGpublic static final java.lang.String INCUBATING String value indicating warnings are emitted for modules designated as "incubating" in the JDK.- See Also:
- Constant Field Values
 
 
- 
 - 
Method Detail- 
getValuespublic java.lang.String[] getValues() Description copied from class:EnumeratedAttributeThis is the only method a subclass needs to implement.- Specified by:
- getValuesin class- EnumeratedAttribute
- Returns:
- an array holding all possible values of the enumeration.
 The order of elements must be fixed so that indexOfValue(String)always return the same index for the same value.
 
 - 
valueOfpublic static Jmod.ResolutionWarningReason valueOf(java.lang.String s) Converts a string to aResolutionWarningReasoninstance.- Parameters:
- s- string to convert
- Returns:
- ResolutionWarningReasoninstance corresponding to string argument
- Throws:
- BuildException- if argument is not a valid- ResolutionWarningReasonvalue
 
 
- 
 
-