Class Check.ReportFormat
- java.lang.Object
-
- org.owasp.dependencycheck.taskdefs.Check.ReportFormat
-
- Enclosing class:
- Check
public static class Check.ReportFormat extends java.lang.Object
A class for Ant to represent the<reportFormat format="<format>"/>
nested element to define multiple report formats for the ant-task.
-
-
Constructor Summary
Constructors Constructor Description ReportFormat()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getFormat()
Gets the format as a String.void
setFormat(java.lang.String format)
Sets the format.
-
-
-
Method Detail
-
getFormat
public java.lang.String getFormat()
Gets the format as a String.- Returns:
- the String representing a report format
-
setFormat
public void setFormat(java.lang.String format)
Sets the format.- Parameters:
format
- the String value for one of theCheck.ReportFormats
- Throws:
org.apache.tools.ant.BuildException
- When the offered String is not one of the valid values of theCheck.ReportFormats
EnumeratedAttribute
-
-