Class ReportableListWalker

java.lang.Object
org.apache.rat.walker.ReportableListWalker
All Implemented Interfaces:
Reportable

public final class ReportableListWalker extends Object implements Reportable
A Reportable that walks a list of Reportables and executes the run on each.
  • Method Details

    • builder

      public static ReportableListWalker.Builder builder(DocumentName name)
      Create a builder for the list walker.
      Parameters:
      name - the name of the walker.
      Returns:
      the builder.
    • run

      public void run(RatReport report)
      Description copied from interface: Reportable
      Adds the reportable to the RatReport.
      Specified by:
      run in interface Reportable
      Parameters:
      report - the report to add the results to.
    • name

      public DocumentName name()
      Description copied from interface: Reportable
      Returns the DocumentName for the reportable.
      Specified by:
      name in interface Reportable
      Returns:
      the DocumentName for the reportable.