org.apache.ddlutils.task
Class VerbosityLevel

java.lang.Object
  extended by org.apache.tools.ant.types.EnumeratedAttribute
      extended by org.apache.ddlutils.task.VerbosityLevel

public class VerbosityLevel
extends org.apache.tools.ant.types.EnumeratedAttribute

Helper class that defines the possible values for the verbosity attribute.


Field Summary
 
Fields inherited from class org.apache.tools.ant.types.EnumeratedAttribute
value
 
Constructor Summary
VerbosityLevel()
          Creates an uninitialized verbosity level object.
VerbosityLevel(String level)
          Creates an initialized verbosity level object.
 
Method Summary
 String[] getValues()
          
 boolean isDebug()
          Determines whether this is DEBUG verbosity.
 
Methods inherited from class org.apache.tools.ant.types.EnumeratedAttribute
containsValue, getIndex, getValue, indexOfValue, setValue, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

VerbosityLevel

public VerbosityLevel()
Creates an uninitialized verbosity level object.


VerbosityLevel

public VerbosityLevel(String level)
Creates an initialized verbosity level object.

Parameters:
level - The level
Method Detail

getValues

public String[] getValues()

Specified by:
getValues in class org.apache.tools.ant.types.EnumeratedAttribute

isDebug

public boolean isDebug()
Determines whether this is DEBUG verbosity.

Returns:
true if this is the DEBUG level


Copyright © 2005-2007 Apache Software Foundation. All Rights Reserved.