org.apache.tools.ant.taskdefsClass Jar.StrictMode
- java.lang.Object
- org.apache.tools.ant.types.EnumeratedAttribute
- org.apache.tools.ant.taskdefs.Jar.StrictMode
- Enclosing class:
- Jar
public static class Jar.StrictMode extends EnumeratedAttributeThe strict enumerated type.
Field Summary
Fields inherited from class org.apache.tools.ant.types.EnumeratedAttribute
value
Constructor Summary
Constructors Constructor and Description StrictMode()
Public no arg constructor.StrictMode(java.lang.String value)
Constructor with an arg.
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description int
getLogLevel()
java.lang.String[]
getValues()
Get List of valid strings.
Methods inherited from class org.apache.tools.ant.types.EnumeratedAttribute
containsValue, getIndex, getInstance, getValue, indexOfValue, setValue, toString
Constructor Detail
StrictMode
public StrictMode()Public no arg constructor.
StrictMode
public StrictMode(java.lang.String value)Constructor with an arg.
- Parameters:
value
- the enumerated value as a string.
Method Detail
getValues
public java.lang.String[] getValues()Get List of valid strings.
- Specified by:
getValues
in classEnumeratedAttribute
- Returns:
- the list of values.
getLogLevel
public int getLogLevel()
- Returns:
- The log level according to the strict mode.