Class PlatformsPageProducer

java.lang.Object
org.sentrysoftware.maven.metricshub.connector.producer.PlatformsPageProducer

public class PlatformsPageProducer extends Object
Utility class for producing the platforms page of the connectors directory.
  • Constructor Summary

    Constructors
    Constructor
    Description
    PlatformsPageProducer(org.apache.maven.plugin.logging.Log logger, String platformSubdirectory)
    Constructor for the main platforms page producer.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    produce(org.apache.maven.doxia.sink.Sink mainSink, List<Platform> platforms)
    Produces the main platforms page report that lists all the platforms.

    Methods inherited from class java.lang.Object

    equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • PlatformsPageProducer

      public PlatformsPageProducer(org.apache.maven.plugin.logging.Log logger, String platformSubdirectory)
      Constructor for the main platforms page producer.
      Parameters:
      logger - The logger used for logging.
      platformSubdirectory - The connector subdirectory name.
  • Method Details

    • produce

      public void produce(org.apache.maven.doxia.sink.Sink mainSink, List<Platform> platforms)
      Produces the main platforms page report that lists all the platforms.
      Parameters:
      mainSink - The main sink used for generating content.
      platforms - The list of platforms to be listed as part of the report.