Class TextReporter

  • All Implemented Interfaces:
    Reporter
    Direct Known Subclasses:
    CsvReporter, TableReporter

    public abstract class TextReporter
    extends Object
    implements Reporter
    A skeletal plain text implementation applicable for printing to the console or a file.
    • Method Detail

      • print

        public void print​(List<PolicyStats> results)
        Description copied from interface: Reporter
        Writes the report to the output destination.
        Specified by:
        print in interface Reporter
      • metrics

        protected abstract Metrics metrics()
        Returns the configuration for how to work with metrics.