Class ViewReport

java.lang.Object
com.opensymphony.xwork2.ActionSupport
com.atlassian.bamboo.ww2.BambooActionSupport
com.atlassian.bamboo.ww2.actions.reports.ViewReport
All Implemented Interfaces:
JsonStreamingAction, ErrorCollection, BambooSessionAware, NavigationAware, PaginationAware, DomainObjectSecurityAware, GlobalReadSecurityAware, ResultsListProvider, 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 ViewReport extends BambooActionSupport implements PaginationAware
See Also:
  • Constructor Details

    • ViewReport

      public ViewReport()
  • Method Details

    • view

      public String view() throws Exception
      Throws:
      Exception
    • generate

      public String generate()
    • getSelectedReport

      public com.atlassian.plugin.ModuleDescriptor<ReportCollector> getSelectedReport()
    • getAvailablePlans

      public Collection<ImmutableTopLevelPlan> getAvailablePlans()
    • getNumberOfProjects

      public int getNumberOfProjects()
    • getAvailableReports

      public List<ReportCollectorModuleDescriptor> getAvailableReports()
    • getAvailableGroupBy

      public Map<String,String> getAvailableGroupBy()
    • getAvailableDateFilter

      public Map<String,String> getAvailableDateFilter()
    • getBuildNameFromKey

      public String getBuildNameFromKey(String key)
    • getLabelAwareReportKeys

      public Collection<String> getLabelAwareReportKeys()
    • isUseSession

      public boolean isUseSession()
      Whether or not a search saved in the session will be shown or not
    • setUseSession

      public void setUseSession(boolean useSession)
    • isHideHeader

      public boolean isHideHeader()
      Whether the menu & chart headers will be shown
    • setHideHeader

      public void setHideHeader(boolean hideHeader)
    • getResolvedAutoPeriod

      public String getResolvedAutoPeriod()
    • setResolvedAutoPeriod

      public void setResolvedAutoPeriod(String resolvedAutoPeriod)
    • getBuildIds

      public List<Long> getBuildIds()
    • setBuildIds

      public void setBuildIds(List<Long> buildIds)
    • getReportKey

      public String getReportKey()
    • setReportKey

      public void setReportKey(String reportKey)
    • getGroupByPeriod

      public String getGroupByPeriod()
    • setGroupByPeriod

      public void setGroupByPeriod(String groupByPeriod)
    • getDateFilter

      public String getDateFilter()
    • setDateFilter

      public void setDateFilter(String dateFilter)
    • getDateFrom

      public String getDateFrom()
    • setDateFrom

      public void setDateFrom(String dateFrom)
    • getDateTo

      public String getDateTo()
    • setDateTo

      public void setDateTo(String dateTo)
    • getLabelTarget

      public String getLabelTarget()
    • setLabelTarget

      public void setLabelTarget(String labelTarget)
    • getResultsList

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

      public void setResultsList(List<ResultsSummary> resultsList)
    • getDataset

      public org.jfree.data.time.TimeTableXYDataset getDataset()
    • getYValue

      @Nullable public @Nullable Double getYValue(int series, int item)
    • setDataset

      public void setDataset(org.jfree.data.time.TimeTableXYDataset dataset)
    • getPager

      public Pager getPager()
      Specified by:
      getPager in interface PaginationAware
    • setPager

      public void setPager(Pager pager)
      Specified by:
      setPager in interface PaginationAware
    • setChartManager

      public void setChartManager(ChartManager chartManager)