com.atlassian.bamboo.ww2.actions.chains
Class ListChainResults

java.lang.Object
  extended by com.opensymphony.xwork.ActionSupport
      extended by com.atlassian.bamboo.ww2.BambooActionSupport
          extended by com.atlassian.bamboo.ww2.actions.ChainActionSupport
              extended by com.atlassian.bamboo.ww2.actions.chains.ListChainResults
All Implemented Interfaces:
ErrorCollection, BambooSessionAware, ChainAware, LazyPaginationAware, PaginationAware, DomainObjectSecurityAware, GlobalReadSecurityAware, PlanReadSecurityAware, PlanAware, ProjectAware, 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 ListChainResults
extends ChainActionSupport
implements LazyPaginationAware, PlanReadSecurityAware

See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from class com.atlassian.bamboo.ww2.BambooActionSupport
BambooActionSupport.JSONStatus
 
Field Summary
 
Fields inherited from class com.atlassian.bamboo.ww2.BambooActionSupport
administrationConfigurationManager, bambooPermissionManager, buildDefinitionManager, buildManager, CONFIRM, cookieCutter, dashboardCachingManager, planManager, projectManager
 
Fields inherited from class com.opensymphony.xwork.ActionSupport
LOG
 
Fields inherited from interface com.opensymphony.xwork.Action
ERROR, INPUT, LOGIN, NONE, SUCCESS
 
Constructor Summary
ListChainResults()
           
 
Method Summary
 java.lang.String doExecute()
          Places the current user on the page
 java.lang.String getDateFinished(ChainResult chainResult)
           
 java.util.List<ChainResult> getFilteredResultsList(int firstResult, int maxResults)
           
 int getNumberOfBuildsRun(ChainResult chainResult)
           
 Pager getPager()
           
 int getResultsCount()
           
 java.util.List<ChainResult> getResultsList()
           
 void setPager(Pager pager)
           
 
Methods inherited from class com.atlassian.bamboo.ww2.actions.ChainActionSupport
getChain, getChainExecutionManager, getChainHasResults, getChainIsRunning, getChainKey, getChainManager, getChainResult, getChainResultManager, getChainResultNumber, getChainStage, getPlan, getProject, getSecuredDomainObject, setChain, setChainExecutionManager, setChainKey, setChainManager, setChainResult, setChainResultManager, setChainResultNumber, setChainStage, setPlan
 
Methods inherited from class com.atlassian.bamboo.ww2.BambooActionSupport
addError, addError, addErrorCollection, addErrorMessage, addErrorMessage, addErrorMessages, addErrors, addIllegalArgumentException, areCheckBoxesEmpty, buildJsonObject, checkFieldXssSafety, createFieldValidator, doDefault, doesHelpLinkHaveMatchingTitle, doesLabelKeyHaveMatchingDescription, execute, getAdministrationConfiguration, getBamboo, getBambooLicenseManager, getBambooPermissionManager, getBambooSession, getBambooUserManager, getBaseUrl, getBootstrapManager, getBreadCrumbs, getBuildManager, getConcurrentBuildsNumber, getConglomerateCookieValue, getCookieCutter, getCookieValue, getCurrentSystemTime, getCurrentUrl, getDefaultPersister, getDescriptionFromLabelKey, getFlushedErrorMessages, getFormattedActionErrors, getFormattedErrorMessages, getInstanceName, getJsonObject, getPlan, getReturnUrl, getSessionUser, getText, getTotalErrors, getUser, getValidatorContext, getWebFragmentsContextMap, getWebItemsForSection, getWebSectionsForLocation, hasAdminPermission, hasAnyErrors, hasBuilds, hasGlobalAdminPermission, hasGlobalPermission, hasPlanPermission, hasPlanPermission, hasRestrictedAdminPermission, isCheckboxSetInAction, isEnableJavascript, isEnableSignup, isRestrictedAdminEnabled, isSelectFieldAndNull, renderFreemarkerTemplate, setAdministrationConfigurationManager, setAuthenticationContext, setBambooLicenseManager, setBambooPermissionManager, setBambooUserManager, setBuildDefinitionManager, setBuildManager, setCheckBoxFields, setCookieCutter, setDashboardCachingManager, setEnableJavascript, setErrorMessages, setPlanManager, setProjectManager, setReturnUrl, setWebInterfaceManager
 
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.ww2.aware.permissions.DomainObjectSecurityAware
getSecuredDomainObject
 
Methods inherited from interface com.atlassian.bamboo.utils.error.ErrorCollection
getErrorMessages, getErrors, getFieldErrors
 
Methods inherited from interface com.atlassian.core.i18n.I18nTextProvider
getText
 

Constructor Detail

ListChainResults

public ListChainResults()
Method Detail

getPager

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

setPager

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

getResultsList

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

getFilteredResultsList

@NotNull
public java.util.List<ChainResult> getFilteredResultsList(int firstResult,
                                                                  int maxResults)
Specified by:
getFilteredResultsList in interface LazyPaginationAware

getResultsCount

public int getResultsCount()
Specified by:
getResultsCount in interface LazyPaginationAware

doExecute

public java.lang.String doExecute()
                           throws java.lang.Exception
Description copied from class: BambooActionSupport
Places the current user on the page

Overrides:
doExecute in class BambooActionSupport
Returns:
webwork success status
Throws:
java.lang.Exception - something nasty went wrong

getDateFinished

public java.lang.String getDateFinished(@NotNull
                                        ChainResult chainResult)

getNumberOfBuildsRun

public int getNumberOfBuildsRun(@NotNull
                                ChainResult chainResult)


Copyright © 2010 Atlassian. All Rights Reserved.