Package edu.umd.cs.findbugs.anttask
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.
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
FieldsModifier and TypeFieldDescriptionprivate 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 -
Method Summary
Modifier and TypeMethodDescriptionvoid
addFileset
(org.apache.tools.ant.types.FileSet arg) Deprecated.The fileset containing all the findbugs xml files that need to be mergedprivate static void
Deprecated.Copy a Fileprivate String[]
createCommandArgumentsArray
(List<File> fileList) Deprecated.Deprecated.void
execute()
Deprecated.void
Deprecated.The File everything should get merged intoMethods 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
-
Field Details
-
fileSets
Deprecated. -
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
Deprecated.The File everything should get merged into- Parameters:
file
- everything should get merged into
-
execute
public void execute() throws org.apache.tools.ant.BuildExceptionDeprecated.- Overrides:
execute
in classorg.apache.tools.ant.Task
- Throws:
org.apache.tools.ant.BuildException
-
createListOfAllFilesToMerge
Deprecated. -
createCommandArgumentsArray
Deprecated. -
copyFile
Deprecated.Copy a File- Parameters:
in
- to Copy Fromout
- to Copy To- Throws:
IOException
-