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 AbstractFindBugsTask
AbstractFindBugsTask.SystemProperty -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate Stringprivate Stringprivate Stringprivate Stringprivate Stringprivate Stringprivate Stringprivate Stringprivate Stringprivate Stringprivate Stringprivate Stringprivate Stringprivate Stringprivate Stringprivate DataFileprivate Stringprivate Stringprivate Stringprivate Stringprivate Stringprivate Stringprivate Fileprivate Stringprivate Stringprivate Stringprivate Stringprivate Stringprivate 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 TypeMethodDescriptionvoidaddBoolOption(String option, String value) private voidprotected voidafterExecuteJavaProcess(int rc) protected voidprivate voidcheckBoolean(String attrVal, String attrName) protected voidCheck that all required attributes have been set.protected voidvoidvoidvoidvoidsetAnnotation(String arg) voidvoidvoidsetBugPattern(String arg) voidsetCategory(String arg) voidvoidsetDesignation(String arg) voidsetExclude(String arg) voidsetExcludeBugs(String arg) voidvoidvoidsetInclude(String arg) voidvoidsetInputFile(String input) voidvoidvoidsetMaxRank(String arg) voidsetNewCode(String arg) voidvoidsetNotAProblem(String arg) voidvoidsetOutputFile(File output) voidsetPresent(String arg) voidsetPriority(String arg) voidsetRemovedByChange(String arg) voidsetRemovedCode(String arg) voidsetWithMessages(String arg) voidsetWithSource(String arg) Methods inherited from class AbstractFindBugsTask
addArg, 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
-
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:AbstractFindBugsTaskCheck that all required attributes have been set.- Overrides:
checkParametersin classAbstractFindBugsTask
-
addOption
-
addBoolOption
-
configureFindbugsEngine
protected void configureFindbugsEngine()- Specified by:
configureFindbugsEnginein classAbstractFindBugsTask
-
beforeExecuteJavaProcess
protected void beforeExecuteJavaProcess()- Specified by:
beforeExecuteJavaProcessin classAbstractFindBugsTask
-
afterExecuteJavaProcess
protected void afterExecuteJavaProcess(int rc) - Overrides:
afterExecuteJavaProcessin classAbstractFindBugsTask
-