com.atlassian.bamboo.ww2.actions.reports
Class ViewReport
java.lang.Object
com.opensymphony.xwork.ActionSupport
com.atlassian.bamboo.ww2.BambooActionSupport
com.atlassian.bamboo.ww2.actions.reports.ViewReport
- All Implemented Interfaces:
- ErrorCollection, BambooSessionAware, NavigationAware, PaginationAware, DomainObjectSecurityAware, GlobalReadSecurityAware, ResultsListProvider, ReturnUrlAware, com.atlassian.core.i18n.I18nTextProvider, 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
Fields inherited from class com.opensymphony.xwork.ActionSupport |
LOG |
Fields inherited from interface com.opensymphony.xwork.Action |
ERROR, INPUT, LOGIN, NONE, SUCCESS |
Methods inherited from class com.atlassian.bamboo.ww2.BambooActionSupport |
addError, addError, addErrorCollection, addErrorMessage, addErrorMessage, addErrorMessages, addErrors, addIllegalArgumentException, areCheckBoxesEmpty, buildJsonObject, buildWebPanelContext, checkFieldXssSafety, createFieldValidator, doDefault, doesHelpLinkHaveMatchingTitle, doesLabelKeyHaveMatchingDescription, doExecute, execute, getAdministrationConfiguration, getBamboo, getBambooLicenseManager, getBambooPermissionManager, getBambooSession, getBambooUserManager, getBaseUrl, getBootstrapManager, getBreadCrumbs, getChainEquiv, getConcurrentBuildsEnabled, getConglomerateCookieValue, getCookieCutter, getCookieValue, getCurrentFormTheme, getCurrentSystemTime, getCurrentUrl, getDefaultPersister, getDescriptionFromLabelKey, getFlushedErrorMessages, getFormattedActionErrors, getFormattedActionMessages, getFormattedErrorMessages, getInstanceName, getJobEquiv, getJsonObject, getNavigationContext, getNavigationUrl, getNumberOfCurrentlyBuildingPlans, getPlan, getPlanManager, getPluginAccessor, getReturnUrl, getSecuredDomainObject, getSessionUser, getText, getText, getText, getText, getText, getText, getText, getText, getText, getText, getTexts, getTexts, getTextWithArgs, getTotalErrors, getUser, getValidatorContext, getWebFragmentsContextMap, getWebItemsForSection, getWebPanelContext, getWebSectionsForLocation, hasAdminPermission, hasAnyErrors, hasBuilds, hasGlobalAdminPermission, hasGlobalPermission, hasKey, hasPlanPermission, hasPlanPermission, hasRestrictedAdminPermission, isCheckboxSetInAction, isEnableJavascript, isEnableSignup, isRestrictedAdminEnabled, isSelectFieldAndNull, renderFreemarkerTemplate, setAdministrationConfigurationManager, setAuthenticationContext, setBambooLicenseManager, setBambooPermissionManager, setBambooUserManager, setBuildDefinitionManager, setChainEquiv, setCheckBoxFields, setCookieCutter, setCurrentFormTheme, setDashboardCachingManager, setEnableJavascript, setErrorMessages, setI18nBeanFactory, setJobEquiv, setNavigationContext, setPlanExecutionManager, setPlanManager, setPluginAccessor, setProjectManager, setReturnUrl, setWebInterfaceManager |
Methods inherited from class com.opensymphony.xwork.ActionSupport |
addActionError, addActionMessage, addFieldError, clearErrorsAndMessages, clone, doInput, getActionErrors, getActionMessages, getErrorMessages, getErrors, getFieldErrors, getLocale, hasActionErrors, hasActionMessages, hasErrors, hasFieldErrors, pause, setActionErrors, setActionMessages, setFieldErrors, validate |
Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ViewReport
public ViewReport()
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()
getAvailablePlans
public java.util.Collection<TopLevelPlan> getAvailablePlans()
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)
isUseSession
public boolean isUseSession()
- Whether or not a search saved in the session will be shown or not
- Returns:
setUseSession
public void setUseSession(boolean useSession)
isHideHeader
public boolean isHideHeader()
- Whether the menu & chart headers will be shown
- Returns:
setHideHeader
public void setHideHeader(boolean hideHeader)
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)
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()
getYValue
@Nullable
public java.lang.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)
Copyright © 2011 Atlassian. All Rights Reserved.