Class ConnectorPageProducer

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

public class ConnectorPageProducer extends Object
Utility class for producing the connector page.
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    static void
    backLinks(org.apache.maven.doxia.sink.Sink sink, String connectorsDirectoryLink, String fullListingLink)
    Produces back links to the main page and full listing.
    void
    produce(org.apache.maven.doxia.sink.Sink sink, Map<String,List<String>> supersededMap, List<String> enterpriseConnectorIds)
    Produces a report page for the current connector and generates the corresponding sink for documentation output.

    Methods inherited from class java.lang.Object

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

    • ConnectorPageProducer

      public ConnectorPageProducer()
  • Method Details

    • produce

      public void produce(org.apache.maven.doxia.sink.Sink sink, Map<String,List<String>> supersededMap, List<String> enterpriseConnectorIds)
      Produces a report page for the current connector and generates the corresponding sink for documentation output. This method generates a table with connector information, adding a new column to indicate if a connector is an enterprise connector.
      Parameters:
      sink - The sink used for generating content.
      supersededMap - Map of superseded connectors.
      enterpriseConnectorIds - List of IDs for enterprise connectors.
    • backLinks

      public static void backLinks(org.apache.maven.doxia.sink.Sink sink, String connectorsDirectoryLink, String fullListingLink)
      Produces back links to the main page and full listing.
      Parameters:
      sink - The sink used for generating content
      connectorsDirectoryLink - The link to the connectors directory
      fullListingLink - The link to the full listing of connectors