Class UnionBugs

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

@Deprecated public class UnionBugs extends org.apache.tools.ant.Task
Deprecated.
An ant task that is wraps the behavior of the UnionResults executable into an ant task. <taskdef name="UnionBugs" classname="edu.umd.cs.findbugs.anttask.UnionBugs" classpath="..."> <UnionBugs to="${basedir}/findbugs.xml" > <fileset dir="plugins"> <include name="*_findbugs_partial.xml" /> </fileset> </UnionBugs>
Version:
1.0
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    private final List<org.apache.tools.ant.types.FileSet>
    Deprecated.
     
    private String
    Deprecated.
     

    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

    Constructors
    Constructor
    Description
    Deprecated.
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    addFileset(org.apache.tools.ant.types.FileSet arg)
    Deprecated.
    The fileset containing all the findbugs xml files that need to be merged
    private static void
    copyFile(File in, File out)
    Deprecated.
    Copy a File
    private String[]
    Deprecated.
     
    private List<File>
    Deprecated.
     
    void
    Deprecated.
     
    void
    setTo(String file)
    Deprecated.
    The File everything should get merged into

    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
  • Field Details

    • fileSets

      private final List<org.apache.tools.ant.types.FileSet> fileSets
      Deprecated.
    • into

      private String into
      Deprecated.
  • Constructor Details

    • UnionBugs

      public UnionBugs()
      Deprecated.
  • Method Details

    • addFileset

      public void addFileset(org.apache.tools.ant.types.FileSet arg)
      Deprecated.
      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 file)
      Deprecated.
      The File everything should get merged into
      Parameters:
      file - everything should get merged into
    • execute

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

      private List<File> createListOfAllFilesToMerge()
      Deprecated.
    • createCommandArgumentsArray

      private String[] createCommandArgumentsArray(List<File> fileList)
      Deprecated.
    • copyFile

      private static void copyFile(File in, File out) throws IOException
      Deprecated.
      Copy a File
      Parameters:
      in - to Copy From
      out - to Copy To
      Throws:
      IOException