Package edu.umd.cs.findbugs.anttask
Class FilterBugsTask
java.lang.Object
org.apache.tools.ant.ProjectComponent
org.apache.tools.ant.Task
edu.umd.cs.findbugs.anttask.AbstractFindBugsTask
edu.umd.cs.findbugs.anttask.FilterBugsTask
- All Implemented Interfaces:
Cloneable
Ant task to invoke the FilterBugs program in the workflow package (a.k.a. the
filterBugs script.)
-
Nested Class Summary
Nested classes/interfaces inherited from class edu.umd.cs.findbugs.anttask.AbstractFindBugsTask
AbstractFindBugsTask.SystemProperty
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate String
private String
private String
private String
private String
private String
private String
private String
private String
private String
private String
private String
private String
private String
private String
private DataFile
private String
private String
private String
private String
private String
private String
private File
private String
private String
private String
private String
private String
private String
Fields inherited from class edu.umd.cs.findbugs.anttask.AbstractFindBugsTask
DEFAULT_TIMEOUT, errorProperty, execResultProperty, FINDBUGS_JAR, RESULT_PROPERTY_SUFFIX
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
addBoolOption
(String option, String value) private void
protected void
afterExecuteJavaProcess
(int rc) protected void
private void
checkBoolean
(String attrVal, String attrName) protected void
Check that all required attributes have been set.protected void
void
void
void
void
setAnnotation
(String arg) void
void
void
setBugPattern
(String arg) void
setCategory
(String arg) void
void
setDesignation
(String arg) void
setExclude
(String arg) void
setExcludeBugs
(String arg) void
void
void
setInclude
(String arg) void
void
setInputFile
(String input) void
void
void
setMaxRank
(String arg) void
setNewCode
(String arg) void
void
setNotAProblem
(String arg) void
void
setOutputFile
(File output) void
setPresent
(String arg) void
setPriority
(String arg) void
setRemovedByChange
(String arg) void
setRemovedCode
(String arg) void
setWithMessages
(String arg) void
setWithSource
(String arg) Methods inherited from class edu.umd.cs.findbugs.anttask.AbstractFindBugsTask
addArg, createClasspath, createFindbugsEngine, createPluginList, createSystemProperty, execute, getDebug, getFindbugsEngine, setClasspath, setClasspathRef, setDebug, setErrorProperty, setFailOnError, setHome, setInputString, setJvm, setJvmargs, setPluginList, setPluginListRef, setTimeout
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
-
Field Details
-
outputFile
-
applySuppression
-
notAProblem
-
not
-
withSource
-
exclude
-
include
-
annotation
-
after
-
before
-
first
-
last
-
fixed
-
present
-
absent
-
active
-
introducedByChange
-
removedByChange
-
newCode
-
removedCode
-
priority
-
maxRank
-
clazz
-
bugPattern
-
category
-
designation
-
withMessages
-
excludeBugs
-
inputFile
-
-
Constructor Details
-
FilterBugsTask
public FilterBugsTask()
-
-
Method Details
-
createDataFile
-
setOutput
-
setOutputFile
-
setInput
-
setInputFile
-
setNot
-
setNotAProblem
-
setWithSource
-
setExclude
-
setApplySuppression
-
setInclude
-
setAnnotation
-
setAfter
-
setBefore
-
setFirst
-
setLast
-
setFixed
-
setPresent
-
setAbsent
-
setActive
-
setIntroducedByChange
-
setRemovedByChange
-
setNewCode
-
setRemovedCode
-
setPriority
-
setMaxRank
-
setClass
-
setBugPattern
-
setCategory
-
setDesignation
-
setWithMessages
-
setExcludeBugs
-
checkBoolean
-
checkParameters
protected void checkParameters()Description copied from class:AbstractFindBugsTask
Check that all required attributes have been set.- Overrides:
checkParameters
in classAbstractFindBugsTask
-
addOption
-
addBoolOption
-
configureFindbugsEngine
protected void configureFindbugsEngine()- Specified by:
configureFindbugsEngine
in classAbstractFindBugsTask
-
beforeExecuteJavaProcess
protected void beforeExecuteJavaProcess()- Specified by:
beforeExecuteJavaProcess
in classAbstractFindBugsTask
-
afterExecuteJavaProcess
protected void afterExecuteJavaProcess(int rc) - Overrides:
afterExecuteJavaProcess
in classAbstractFindBugsTask
-