Class ViewCloverCoverageSummary

java.lang.Object
com.opensymphony.xwork2.ActionSupport
All Implemented Interfaces:
JsonStreamingAction, ErrorCollection, BambooSessionAware, ChainAware, NavigationAware, DomainObjectSecurityAware, GlobalReadSecurityAware, PlanReadSecurityAware, PlanAware, ProjectAware, ResultsListAware, ReturnUrlAware, com.atlassian.core.i18n.I18nTextProvider, com.atlassian.struts.TextProvider, com.atlassian.struts.ValidationAware, com.opensymphony.xwork.ValidationAware, com.opensymphony.xwork2.Action, com.opensymphony.xwork2.interceptor.ValidationAware, com.opensymphony.xwork2.LocaleProvider, com.opensymphony.xwork2.TextProvider, com.opensymphony.xwork2.Validateable, Serializable

public class ViewCloverCoverageSummary extends ChainActionSupport implements ResultsListAware, PlanReadSecurityAware
See Also:
  • Constructor Details

    • ViewCloverCoverageSummary

      public ViewCloverCoverageSummary()
  • Method Details

    • doViewCoverage

      public String doViewCoverage() throws Exception
      Throws:
      Exception
    • doViewLinesOfCode

      public String doViewLinesOfCode() throws Exception
      Throws:
      Exception
    • doViewNonCommentLinesOfCode

      public String doViewNonCommentLinesOfCode() throws Exception
      Throws:
      Exception
    • execute

      public String execute() throws Exception
      Specified by:
      execute in interface com.opensymphony.xwork2.Action
      Overrides:
      execute in class com.opensymphony.xwork2.ActionSupport
      Throws:
      Exception
    • getReportLinker

      @Nullable public @Nullable ReportProvider getReportLinker()
    • getResultsList

      public List<ResultsSummary> getResultsList()
      Specified by:
      getResultsList in interface ResultsListAware
    • setResultsList

      public void setResultsList(List<? extends ResultsSummary> resultsList)
      Specified by:
      setResultsList in interface ResultsListAware
    • isMoreThanOneDataPoint

      public boolean isMoreThanOneDataPoint()
    • getDataset

      public org.jfree.data.xy.XYDataset getDataset()
    • setDataset

      public void setDataset(org.jfree.data.xy.XYDataset dataset)
    • getReportKey

      public String getReportKey()
    • setReportKey

      public void setReportKey(String reportKey)
    • getJobName

      @NotNull public @NotNull String getJobName(PlanKey jobResultKey)
      Returns name of the specified job using the CachedPlanManager. If given job is not found by manager, it returns the job key as a fall back.
      Parameters:
      jobResultKey - job
      Returns:
      String job name or job key
    • getPluginAccessor

      public com.atlassian.plugin.PluginAccessor getPluginAccessor()
      Overrides:
      getPluginAccessor in class BambooActionSupport
    • setPluginAccessor

      public void setPluginAccessor(com.atlassian.plugin.PluginAccessor pluginAccessor)
      Overrides:
      setPluginAccessor in class BambooActionSupport
    • getFilterController

      public FilterController getFilterController()
    • setFilterController

      public void setFilterController(FilterController filterController)
    • setArtifactLinkManager

      public void setArtifactLinkManager(ArtifactLinkManager artifactLinkManager)