org.apache.tools.ant.taskdefs

Class Jar.StrictMode

Enclosing Class:
Jar

public static class Jar.StrictMode
extends EnumeratedAttribute

The strict enumerated type.

Field Summary

Fields inherited from class org.apache.tools.ant.types.EnumeratedAttribute

value

Constructor Summary

StrictMode()
Public no arg constructor.
StrictMode(String value)
Constructor with an arg.

Method Summary

int
getLogLevel()
String[]
getValues()
Get List of valid strings.

Methods inherited from class org.apache.tools.ant.types.EnumeratedAttribute

containsValue, getIndex, getInstance, getValue, getValues, indexOfValue, setValue, toString

Constructor Details

StrictMode

public StrictMode()
Public no arg constructor.

StrictMode

public StrictMode(String value)
Constructor with an arg.
Parameters:
value - the enumerated value as a string.

Method Details

getLogLevel

public int getLogLevel()
Returns:
The log level according to the strict mode.

getValues

public String[] getValues()
Get List of valid strings.
Overrides:
getValues in interface EnumeratedAttribute
Returns:
the list of values.