Class ReportPlugin

    • Constructor Detail

      • ReportPlugin

        public ReportPlugin()
    • Method Detail

      • addReportSet

        public void addReportSet​(ReportSet reportSet)
        Method addReportSet.
        Parameters:
        reportSet - a reportSet object.
      • getArtifactId

        public String getArtifactId()
        Get the artifact ID of the reporting plugin in the repository.
        Returns:
        String
      • getGroupId

        public String getGroupId()
        Get the group ID of the reporting plugin in the repository.
        Returns:
        String
      • getReportSets

        public List<ReportSet> getReportSets()
        Method getReportSets.
        Returns:
        List
      • getVersion

        public String getVersion()
        Get the version of the reporting plugin to be used. Starting with Maven 3, if no version is defined explicitely, version is searched in build/plugins then in build/pluginManagement.
        Returns:
        String
      • removeReportSet

        public void removeReportSet​(ReportSet reportSet)
        Method removeReportSet.
        Parameters:
        reportSet - a reportSet object.
      • setArtifactId

        public void setArtifactId​(String artifactId)
        Set the artifact ID of the reporting plugin in the repository.
        Parameters:
        artifactId - a artifactId object.
      • setGroupId

        public void setGroupId​(String groupId)
        Set the group ID of the reporting plugin in the repository.
        Parameters:
        groupId - a groupId object.
      • setReportSets

        public void setReportSets​(List<ReportSet> reportSets)
        Set multiple specifications of a set of reports, each having (possibly) different configuration. This is the reporting parallel to an execution in the build.
        Parameters:
        reportSets - a reportSets object.
      • setVersion

        public void setVersion​(String version)
        Set the version of the reporting plugin to be used. Starting with Maven 3, if no version is defined explicitely, version is searched in build/plugins then in build/pluginManagement.
        Parameters:
        version - a version object.
      • flushReportSetMap

        public void flushReportSetMap()
        Reset the reportSetMap field to null
      • getKey

        public String getKey()
        Returns:
        the key of the report plugin, ie groupId:artifactId
      • constructKey

        public static String constructKey​(String groupId,
                                          String artifactId)
        Parameters:
        groupId - The group ID of the plugin in the repository
        artifactId - The artifact ID of the reporting plugin in the repository
        Returns:
        the key of the report plugin, ie groupId:artifactId