java.lang.Object
org.sentrysoftware.maven.metricshub.connector.producer.AbstractPageProducer
org.sentrysoftware.maven.metricshub.connector.producer.MainPageProducer

public class MainPageProducer extends AbstractPageProducer
Utility class for producing main page of the connectors directory.
  • Constructor Summary

    Constructors
    Constructor
    Description
    MainPageProducer(org.apache.maven.plugin.logging.Log logger, String connectorSubdirectoryName, String tagSubdirectoryName)
    Constructor for the main page producer.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    produce(org.apache.maven.doxia.sink.Sink mainSink, Map<String,com.fasterxml.jackson.databind.JsonNode> connectors, List<String> enterpriseConnectorIds, Set<String> connectorTags)
    Produces the main page report that lists all the connectors.

    Methods inherited from class java.lang.Object

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

    • MainPageProducer

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

    • produce

      public void produce(org.apache.maven.doxia.sink.Sink mainSink, Map<String,com.fasterxml.jackson.databind.JsonNode> connectors, List<String> enterpriseConnectorIds, Set<String> connectorTags)
      Produces the main page report that lists all the connectors.
      Parameters:
      mainSink - The main sink used for generating content.
      connectors - The map of connector identifiers to their corresponding JsonNodes.
      enterpriseConnectorIds - The enterprise connector identifiers.