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
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>
-
Nested Class Summary
Nested classes/interfaces inherited from class AbstractFindBugsTask
AbstractFindBugsTask.SystemProperty -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final ArrayList<org.apache.tools.ant.types.FileSet> private StringFields inherited from class AbstractFindBugsTask
DEFAULT_TIMEOUT, errorProperty, execResultProperty, FINDBUGS_JAR, RESULT_PROPERTY_SUFFIXFields inherited from class org.apache.tools.ant.Task
target, taskName, taskType, wrapperFields inherited from class org.apache.tools.ant.ProjectComponent
description, location, project -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddFileset(org.apache.tools.ant.types.FileSet arg) The fileset containing all the findbugs xml files that need to be mergedprotected voidprotected voidCheck that all required attributes have been set.protected voidvoidThe File everything should get merged intoMethods inherited from class AbstractFindBugsTask
addArg, afterExecuteJavaProcess, createClasspath, createFindbugsEngine, createPluginList, createSystemProperty, execute, getDebug, getFindbugsEngine, setClasspath, setClasspathRef, setDebug, setErrorProperty, setFailOnError, setHome, setInputString, setJvm, setJvmargs, setPluginList, setPluginListRef, setTimeoutMethods 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, setTaskTypeMethods inherited from class org.apache.tools.ant.ProjectComponent
clone, getDescription, getLocation, getProject, setDescription, setLocation, setProject
-
Field Details
-
to
-
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
The File everything should get merged into- Parameters:
arg- file everything should get merged into
-
checkParameters
protected void checkParameters()Description copied from class:AbstractFindBugsTaskCheck that all required attributes have been set.- Overrides:
checkParametersin classAbstractFindBugsTask
-
beforeExecuteJavaProcess
protected void beforeExecuteJavaProcess()- Specified by:
beforeExecuteJavaProcessin classAbstractFindBugsTask
-
configureFindbugsEngine
protected void configureFindbugsEngine()- Specified by:
configureFindbugsEnginein classAbstractFindBugsTask
-