Class MainPageProducer
java.lang.Object
org.sentrysoftware.maven.metricshub.connector.producer.AbstractPageProducer
org.sentrysoftware.maven.metricshub.connector.producer.MainPageProducer
Utility class for producing main page of the connectors directory.
-
Constructor Summary
ConstructorDescriptionMainPageProducer
(org.apache.maven.plugin.logging.Log logger, String connectorSubdirectoryName, String tagSubdirectoryName) Constructor for the main page producer. -
Method Summary
-
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.connectorTags
- The set of connector tags.
-