Class Check.ReportFormat

java.lang.Object
org.owasp.dependencycheck.taskdefs.Check.ReportFormat
Enclosing class:
Check

public static class Check.ReportFormat extends Object
A class for Ant to represent the <reportFormat format="<format>"/> nested element to define multiple report formats for the ant-task.
Author:
Jeremy Long
  • Constructor Details

    • ReportFormat

      public ReportFormat()
  • Method Details

    • getFormat

      public String getFormat()
      Gets the format as a String.
      Returns:
      the String representing a report format
    • setFormat

      public void setFormat(String format)
      Sets the format.
      Parameters:
      format - the String value for one of the Check.ReportFormats
      Throws:
      org.apache.tools.ant.BuildException - When the offered String is not one of the valid values of the Check.ReportFormats EnumeratedAttribute