org.quattor.ant
Class PanCheckSyntaxTask

java.lang.Object
  extended by org.apache.tools.ant.ProjectComponent
      extended by org.apache.tools.ant.Task
          extended by org.quattor.ant.PanCheckSyntaxTask
All Implemented Interfaces:
java.lang.Cloneable

public class PanCheckSyntaxTask
extends org.apache.tools.ant.Task

An ant task which checks the pan language syntax for a specified list of files. See individual setter methods for the parameters which can be used in the build file.

Author:
loomis

Field Summary
 
Fields inherited from class org.apache.tools.ant.Task
target, taskName, taskType, wrapper
 
Fields inherited from class org.apache.tools.ant.ProjectComponent
description, location, project
 
Constructor Summary
PanCheckSyntaxTask()
           
 
Method Summary
 void addConfiguredFileSet(org.apache.tools.ant.types.FileSet fileset)
          Support nested fileset elements.
 void execute()
           
 void setDeprecationLevel(int deprecationLevel)
          Level at which deprecation warnings are issued.
 void setVerbose(boolean verbose)
          Flag to indicate that extra information should be written to the standard output.
 
Methods inherited from class org.apache.tools.ant.Task
bindToOwner, getOwningTarget, getRuntimeConfigurableWrapper, getTaskName, getTaskType, getWrapper, handleErrorFlush, handleErrorOutput, handleFlush, handleInput, handleOutput, init, isInvalid, log, log, log, log, maybeConfigure, perform, reconfigure, setOwningTarget, setRuntimeConfigurableWrapper, setTaskName, setTaskType
 
Methods inherited from class org.apache.tools.ant.ProjectComponent
clone, getDescription, getLocation, getProject, setDescription, setLocation, setProject
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PanCheckSyntaxTask

public PanCheckSyntaxTask()
Method Detail

execute

public void execute()
             throws org.apache.tools.ant.BuildException
Overrides:
execute in class org.apache.tools.ant.Task
Throws:
org.apache.tools.ant.BuildException

addConfiguredFileSet

public void addConfiguredFileSet(org.apache.tools.ant.types.FileSet fileset)
Support nested fileset elements. This is called by ant only after all of the children of the fileset have been processed. Collect all of the selected files from the fileset.

Parameters:
fileset - a configured FileSet

setVerbose

public void setVerbose(boolean verbose)
Flag to indicate that extra information should be written to the standard output. This gives the total number of files which will be processed and statistics coming from the compilation.

Parameters:
verbose -

setDeprecationLevel

public void setDeprecationLevel(int deprecationLevel)
Level at which deprecation warnings are issued. If less than zero, then none are printed. If zero, warnings are issued for things that will change in next release. If greater than zero, then other future changes will be flagged.

Parameters:
deprecationLevel - level at which to give deprecation warnings


Copyright © 2011 Quattor. All Rights Reserved.