Class UnionBugs

  • All Implemented Interfaces:
    java.lang.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 java.util.List<org.apache.tools.ant.types.FileSet> fileSets
      Deprecated.
       
      private java.lang.String into
      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
      UnionBugs()
      Deprecated.
       
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods 
      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​(java.io.File in, java.io.File out)
      Deprecated.
      Copy a File
      private java.lang.String[] createCommandArgumentsArray​(java.util.List<java.io.File> fileList)
      Deprecated.
       
      private java.util.List<java.io.File> createListOfAllFilesToMerge()
      Deprecated.
       
      void execute()
      Deprecated.
       
      void setTo​(java.lang.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 Detail

      • fileSets

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

        private java.lang.String into
        Deprecated.
    • Constructor Detail

      • UnionBugs

        public UnionBugs()
        Deprecated.
    • Method Detail

      • 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​(java.lang.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 java.util.List<java.io.File> createListOfAllFilesToMerge()
        Deprecated.
      • createCommandArgumentsArray

        private java.lang.String[] createCommandArgumentsArray​(java.util.List<java.io.File> fileList)
        Deprecated.
      • copyFile

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