Package edu.umd.cs.findbugs.anttask
Class ConvertXmlToTextTask
java.lang.Object
org.apache.tools.ant.ProjectComponent
org.apache.tools.ant.Task
edu.umd.cs.findbugs.anttask.AbstractFindBugsTask
edu.umd.cs.findbugs.anttask.ConvertXmlToTextTask
- All Implemented Interfaces:
Cloneable
Ant task to generate HTML or plain text from a saved XML analysis results
file.
- Author:
- David Hovemeyer
-
Nested Class Summary
Nested classes/interfaces inherited from class edu.umd.cs.findbugs.anttask.AbstractFindBugsTask
AbstractFindBugsTask.SystemProperty -
Field Summary
Fields inherited from class edu.umd.cs.findbugs.anttask.AbstractFindBugsTask
DEFAULT_TIMEOUT, execResultProperty, FINDBUGS_JAR, RESULT_PROPERTY_SUFFIX -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidsetApplySuppression(boolean applySuppression) voidsetFailIfBugFound(boolean failIfBugFound) voidvoidvoidsetInputFile(String input) voidsetLongBugCodes(boolean longBugCodes) voidvoidsetOutputFile(String output) Methods inherited from class edu.umd.cs.findbugs.anttask.AbstractFindBugsTask
createClasspath, createPluginList, createSystemProperty, execute, setClasspath, setClasspathRef, setDebug, setErrorProperty, setFailOnError, setHome, setJvm, setJvmargs, setPluginList, setPluginListRef, setTimeoutMethods inherited from class org.apache.tools.ant.Task
bindToOwner, getOwningTarget, getRuntimeConfigurableWrapper, getTaskName, getTaskType, init, 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
-
Constructor Details
-
ConvertXmlToTextTask
public ConvertXmlToTextTask()
-
-
Method Details
-
setLongBugCodes
public void setLongBugCodes(boolean longBugCodes) - Parameters:
longBugCodes- The longBugCodes to set.
-
setApplySuppression
public void setApplySuppression(boolean applySuppression) - Parameters:
applySuppression- The applySuppression to set.
-
setInput
- Parameters:
input- The input to set.
-
setOutput
- Parameters:
output- The output to set.
-
setInputFile
- Parameters:
input- The input to set.
-
setOutputFile
- Parameters:
output- The output to set.
-
setFormat
- Parameters:
format- The format to set.
-
setFailIfBugFound
public void setFailIfBugFound(boolean failIfBugFound) - Parameters:
failIfBugFound- true to 'fail' at the end if at least one bug is reported
-