com.atlassian.bamboo.ww2.actions.reports
Class ViewReport

java.lang.Object
  extended by com.opensymphony.xwork.ActionSupport
      extended by com.atlassian.bamboo.ww2.BambooActionSupport
          extended by com.atlassian.bamboo.ww2.actions.reports.ViewReport
All Implemented Interfaces:
ErrorCollection, BambooSessionAware, PaginationAware, DomainObjectSecurityAware, GlobalReadSecurityAware, ResultsListProvider, ReturnUrlAware, com.opensymphony.xwork.Action, com.opensymphony.xwork.LocaleProvider, com.opensymphony.xwork.TextProvider, com.opensymphony.xwork.Validateable, com.opensymphony.xwork.ValidationAware, com.uwyn.rife.continuations.ContinuableObject, java.io.Serializable, java.lang.Cloneable

public class ViewReport
extends BambooActionSupport
implements PaginationAware

See Also:
Serialized Form

Field Summary
 
Fields inherited from class com.atlassian.bamboo.ww2.BambooActionSupport
buildManager, CONFIRM, cookieCutter, dashboardCachingManager
 
Fields inherited from class com.opensymphony.xwork.ActionSupport
LOG
 
Fields inherited from interface com.opensymphony.xwork.Action
ERROR, INPUT, LOGIN, NONE, SUCCESS
 
Constructor Summary
ViewReport()
           
 
Method Summary
 java.lang.String doGenerate()
           
 java.lang.String doView()
           
 java.util.Collection getAvailableBuilds()
           
 java.util.Map getAvailableDateFilter()
           
 java.util.Map getAvailableGroupBy()
           
 java.util.List getAvailableReports()
           
 java.util.List getBuildIds()
           
 java.lang.String getBuildNameFromKey(java.lang.String key)
           
 org.jfree.data.time.TimeTableXYDataset getDataset()
           
 java.lang.String getDateFilter()
           
 java.lang.String getDateFrom()
           
 java.lang.String getDateTo()
           
 java.lang.String getGroupByPeriod()
           
 int getNumberOfProjects()
           
 Pager getPager()
           
 com.atlassian.plugin.PluginManager getPluginManager()
           
 java.lang.String getReportKey()
           
 java.lang.String getResolvedAutoPeriod()
           
 java.util.List getResultsList()
           
 com.atlassian.plugin.ModuleDescriptor getSelectedReport()
           
 void setBuildIds(java.util.List buildIds)
           
 void setDataset(org.jfree.data.time.TimeTableXYDataset dataset)
           
 void setDateFilter(java.lang.String dateFilter)
           
 void setDateFrom(java.lang.String dateFrom)
           
 void setDateTo(java.lang.String dateTo)
           
 void setGroupByPeriod(java.lang.String groupByPeriod)
           
 void setIndexedBuildResultsSearcher(IndexedBuildResultsSearcher indexedBuildResultsSearcher)
           
 void setPager(Pager pager)
           
 void setPluginManager(com.atlassian.plugin.PluginManager pluginManager)
           
 void setReportKey(java.lang.String reportKey)
           
 void setResolvedAutoPeriod(java.lang.String resolvedAutoPeriod)
           
 void setResultsList(java.util.List resultsList)
           
 
Methods inherited from class com.atlassian.bamboo.ww2.BambooActionSupport
addError, addError, addErrorCollection, addErrorMessage, addErrorMessage, addErrorMessages, addErrors, addIllegalArgumentException, areCheckBoxesEmpty, doDefault, doesLabelKeyHaveMatchingDescription, doExecute, execute, getAdministrationConfiguration, getAsPreformattedText, getBamboo, getBambooLicenseManager, getBambooSession, getBambooUserManager, getBaseUrl, getBootstrapManager, getBreadCrumbs, getBuildManager, getConglomerateCookieValue, getCookieCutter, getCookieValue, getCurrentSystemTime, getCurrentUrl, getDefaultPersister, getDescriptionFromLabelKey, getFlushedErrorMessages, getInstanceName, getReturnUrl, getSecuredDomainObject, getSessionUser, getTotalErrors, getUser, getWebFragmentsContextMap, getWebItemsForSection, getWebResourceManager, getWebSectionsForLocation, hasAnyErrors, hasBuilds, hasGlobalPermission, hasPlanPermission, hasPlanPermission, isEnableSignup, isSelectFieldAndNull, renderFreemarkerTemplate, setAdministrationConfiguration, setAuthenticationContext, setBambooLicenseManager, setBambooPermissionManager, setBambooUserManager, setBuildManager, setCookieCutter, setDashboardCachingManager, setErrorMessages, setHtmlUtils, setReturnUrl, setWebInterfaceManager, setWebResourceManager
 
Methods inherited from class com.opensymphony.xwork.ActionSupport
addActionError, addActionMessage, addFieldError, clearErrorsAndMessages, clone, doInput, getActionErrors, getActionMessages, getErrorMessages, getErrors, getFieldErrors, getLocale, getText, getText, getText, getText, getText, getText, getText, getText, getText, getTexts, getTexts, hasActionErrors, hasActionMessages, hasErrors, hasFieldErrors, hasKey, pause, setActionErrors, setActionMessages, setFieldErrors, validate
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.atlassian.bamboo.utils.error.ErrorCollection
getErrorMessages, getErrors, getFieldErrors
 

Constructor Detail

ViewReport

public ViewReport()
Method Detail

doView

public java.lang.String doView()
                        throws java.lang.Exception
Throws:
java.lang.Exception

doGenerate

public java.lang.String doGenerate()

getSelectedReport

public com.atlassian.plugin.ModuleDescriptor getSelectedReport()

getAvailableBuilds

public java.util.Collection getAvailableBuilds()

getNumberOfProjects

public int getNumberOfProjects()

getAvailableReports

public java.util.List getAvailableReports()

getAvailableGroupBy

public java.util.Map getAvailableGroupBy()

getAvailableDateFilter

public java.util.Map getAvailableDateFilter()

getBuildNameFromKey

public java.lang.String getBuildNameFromKey(java.lang.String key)

getResolvedAutoPeriod

public java.lang.String getResolvedAutoPeriod()

setResolvedAutoPeriod

public void setResolvedAutoPeriod(java.lang.String resolvedAutoPeriod)

getBuildIds

public java.util.List getBuildIds()

setBuildIds

public void setBuildIds(java.util.List buildIds)

getReportKey

public java.lang.String getReportKey()

setReportKey

public void setReportKey(java.lang.String reportKey)

getGroupByPeriod

public java.lang.String getGroupByPeriod()

setGroupByPeriod

public void setGroupByPeriod(java.lang.String groupByPeriod)

getDateFilter

public java.lang.String getDateFilter()

setDateFilter

public void setDateFilter(java.lang.String dateFilter)

getDateFrom

public java.lang.String getDateFrom()

setDateFrom

public void setDateFrom(java.lang.String dateFrom)

getDateTo

public java.lang.String getDateTo()

setDateTo

public void setDateTo(java.lang.String dateTo)

getPluginManager

public com.atlassian.plugin.PluginManager getPluginManager()

setPluginManager

public void setPluginManager(com.atlassian.plugin.PluginManager pluginManager)

getResultsList

public java.util.List getResultsList()
Specified by:
getResultsList in interface ResultsListProvider

setResultsList

public void setResultsList(java.util.List resultsList)

getDataset

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

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

setIndexedBuildResultsSearcher

public void setIndexedBuildResultsSearcher(IndexedBuildResultsSearcher indexedBuildResultsSearcher)


Copyright © 2008 Atlassian Pty Ltd. All Rights Reserved.