Package org.apache.rat.walker
Class IReportableListWalker
java.lang.Object
org.apache.rat.walker.IReportableListWalker
- All Implemented Interfaces:
IReportable
A Reportable that walks a list of IReportables and executes the run on each.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final class
A Builder for the ListWalker. -
Method Summary
Modifier and TypeMethodDescriptionbuilder
(DocumentName name) Create a builder for the list walker.getName()
Returns the DocumentName for the reportable.void
Adds the reportable to the RatReport.
-
Method Details
-
builder
Create a builder for the list walker.- Parameters:
name
- the name of the walker.- Returns:
- the builder.
-
run
Description copied from interface:IReportable
Adds the reportable to the RatReport.- Specified by:
run
in interfaceIReportable
- Parameters:
report
- the report to add the results to.- Throws:
RatException
- on error.
-
getName
Description copied from interface:IReportable
Returns the DocumentName for the reportable.- Specified by:
getName
in interfaceIReportable
- Returns:
- the DocumentName for the reportable.
-