Class UnionBugs2

java.lang.Object
org.apache.tools.ant.ProjectComponent
org.apache.tools.ant.Task
edu.umd.cs.findbugs.anttask.AbstractFindBugsTask
edu.umd.cs.findbugs.anttask.UnionBugs2
All Implemented Interfaces:
Cloneable

public class UnionBugs2 extends AbstractFindBugsTask
An ant task that is wraps the behavior of the UnionResults executable into an ant task. <taskdef name="UnionBugs2" classname="edu.umd.cs.findbugs.anttask.UnionBugs2" classpath="..."> <UnionBugs2 to="${basedir}/findbugs.xml" > <fileset dir="plugins"> <include name="*_findbugs_partial.xml" /> </fileset> </UnionBugs>
  • Field Details

    • to

      private String to
    • fileSets

      private final ArrayList<org.apache.tools.ant.types.FileSet> fileSets
  • Constructor Details

    • UnionBugs2

      public UnionBugs2()
  • Method Details

    • addFileset

      public void addFileset(org.apache.tools.ant.types.FileSet arg)
      The fileset containing all the findbugs xml files that need to be merged
      Parameters:
      arg - fileset containing all the findbugs xml files that need to be merged
    • setTo

      public void setTo(String arg)
      The File everything should get merged into
      Parameters:
      arg - file everything should get merged into
    • checkParameters

      protected void checkParameters()
      Description copied from class: AbstractFindBugsTask
      Check that all required attributes have been set.
      Overrides:
      checkParameters in class AbstractFindBugsTask
    • beforeExecuteJavaProcess

      protected void beforeExecuteJavaProcess()
      Specified by:
      beforeExecuteJavaProcess in class AbstractFindBugsTask
    • configureFindbugsEngine

      protected void configureFindbugsEngine()
      Specified by:
      configureFindbugsEngine in class AbstractFindBugsTask