Class Jmod.ResolutionWarningReason
java.lang.Object
org.apache.tools.ant.types.EnumeratedAttribute
org.apache.tools.ant.taskdefs.modules.Jmod.ResolutionWarningReason
- 
Field SummaryFieldsModifier and TypeFieldDescriptionstatic final StringString value indicating warnings are emitted for modules marked as deprecated (but not deprecated for removal).static final StringString value indicating warnings are emitted for modules designated as "incubating" in the JDK.static final StringString value indicating warnings are emitted for modules marked as deprecated for removal.Fields inherited from class org.apache.tools.ant.types.EnumeratedAttributevalue
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionString[]This is the only method a subclass needs to implement.static Jmod.ResolutionWarningReasonConverts a string to aResolutionWarningReasoninstance.Methods inherited from class org.apache.tools.ant.types.EnumeratedAttributecontainsValue, getIndex, getInstance, getValue, indexOfValue, setValue, toString
- 
Field Details- 
DEPRECATEDString value indicating warnings are emitted for modules marked as deprecated (but not deprecated for removal).- See Also:
 
- 
LEAVINGString value indicating warnings are emitted for modules marked as deprecated for removal.- See Also:
 
- 
INCUBATINGString value indicating warnings are emitted for modules designated as "incubating" in the JDK.- See Also:
 
 
- 
- 
Constructor Details- 
ResolutionWarningReasonpublic ResolutionWarningReason()
 
- 
- 
Method Details- 
getValuesDescription 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.
 
- 
valueOfConverts a string to aResolutionWarningReasoninstance.- Parameters:
- s- string to convert
- Returns:
- ResolutionWarningReasoninstance corresponding to string argument
- Throws:
- BuildException- if argument is not a valid- ResolutionWarningReasonvalue
 
 
-