public class ViewBuild extends BuildActionSupport implements StatisticsAware, PlanReadSecurityAware
BambooActionSupport.JSONStatusbuildExecutionManagerbuildNumber, jiraApplinksService, repositoryConfigurationService, resultsSummaryManagerACCESS_DENIED, administrationConfigurationAccessor, administrationConfigurationManager, administrationConfigurationPersister, AGGREGATE_URL_PATTERN, bambooPermissionManager, bambooUserManager, BUILD_KEY_CONTEXT, buildDefinitionManager, cachedPlanManager, CONFIRM, cookieCutter, dashboardCachingManager, environmentService, featureManager, PAGE_NOT_FOUND, PLAN_KEY_CONTEXT, planExecutionManager, planManager, pluginAccessor, projectManager, webInterfaceManager| Constructor and Description |
|---|
ViewBuild() |
| Modifier and Type | Method and Description |
|---|---|
String |
doDefault()
Default action just sends to the input
|
String |
doExecute()
Obtain the list of builds associated with the build
|
BuildAgent |
getAgent(CurrentlyBuilding currentlyBuilding) |
Collection<ErrorDetails> |
getBuildErrors()
Obtain all the current build errors.
|
BuildStatusHelper |
getBuildStatusHelper() |
FilterController |
getFilterController() |
ResultsSummary |
getLastSuccessfulSummary() |
ResultsSummary |
getLatestSummary() |
Pager |
getPager() |
List<? extends ResultsSummary> |
getResultsList()
Provide the GUI with the collection of
BuildResultsSummary objects for the specified build. |
StatisticsCollector |
getStatistics() |
void |
setAgentManager(AgentManager agentManager) |
void |
setFilterController(FilterController filterController) |
void |
setResultsList(List<? extends ResultsSummary> results) |
void |
setStatistics(StatisticsCollector statistics) |
void |
validate() |
getBuild, getBuildResultKey, getCurrentlyBuilding, getCurrentlyBuildingList, getCurrentlyRunningBuildResultKeys, getImmutableBuild, getMutableBuild, getSecuredDomainObject, setBuild, setBuildExecutionManager, setBuildResultKeybuildWebPanelContext, getBuildKey, getBuildNumber, getCurrentlyBuildingPlans, getErrorAccessor, getImmutablePlan, getJobsWebItemsForSection, getMutablePlan, getPlan, getPlanKey, getPlanResultKey, getProject, getResultsSummaryManager, getTypedPlanKey, getTypedPlanResultKey, isJiraApplicationLinkDefined, isRestartable, planNotFound, setBuildKey, setBuildNumber, setDecoratingErrorAccessor, setJiraApplinksService, setPlan, setPlanExecutionManager, setPlanKey, setPlanResultKey, setRepositoryConfigurationService, setResultsSummaryManageraddActionError, addActionWarning, addError, addError, addErrorCollection, addErrorMessage, addErrorMessage, addErrorMessages, addErrors, addFieldErrors, addHelpPanel, addIllegalArgumentException, areCheckBoxesEmpty, buildJsonObject, checkFieldXssSafety, createFieldValidator, doesHelpLinkHaveMatchingTitle, doesLabelKeyHaveMatchingDescription, doInput, execute, forceRelativeReturnUrl, getActionWarnings, getAdministrationConfiguration, getBamboo, getBambooLicenseManager, getBambooPermissionManager, getBambooSession, getBambooUrl, getBambooUserManager, getBaseUrl, getBestBaseUrl, getBootstrapManager, getBreadCrumbs, getChainEquiv, getConcurrentBuildsEnabled, getConglomerateCookieValue, getCookieCutter, getCookieValue, getCurrentFormTheme, getCurrentSystemTime, getCurrentUrl, getDefaultPersister, getDeploymentProject, getDescriptionFromLabelKey, getElasticConfig, getFeatureManager, getFieldErrorAccessTracker, getFieldErrors, getFlushedErrorMessages, getFormattedActionErrors, getFormattedActionMessages, getFormattedActionWarnings, getHelpPanels, getInstanceName, getJobEquiv, getJsonObject, getNavigationContext, getNavigationUrl, getNumberOfCurrentlyBuildingPlans, getPlan, getPlanManager, getPluginAccessor, getReturnUrl, getServerLifecycleState, getSessionUser, getText, getText, getText, getText, getText, getText, getText, getText, getText, getText, getText, getText, getTextProvider, getTexts, getTexts, getTextWithArgs, getTotalErrors, getUser, getValidatorContext, getWebFragmentsContextMap, getWebItemsForSection, getWebPanelContext, getWebSectionsForLocation, hasActionWarnings, hasAdminPermission, hasAnyErrors, hasBuilds, hasEntityPermission, hasGlobalAdminPermission, hasGlobalPermission, hasGlobalPermission, hasKey, hasLinkedDeployments, hasPlanPermission, hasPlanPermission, hasRestrictedAdminPermission, input, isCheckboxSetInAction, isEc2ConfigurationWarningRequired, isEnableJavascript, isEnableSignup, isInlineDialog, isRestrictedAdminEnabled, isSelectFieldAndNull, isViewContactDetailsEnabled, renderFreemarkerTemplate, setAdministrationConfigurationAccessor, setAdministrationConfigurationManager, setAdministrationConfigurationPersister, setAuthenticationContext, setBambooLicenseManager, setBambooPermissionManager, setBambooUserManager, setBuildDefinitionManager, setCachedPlanManager, setChainEquiv, setCheckBoxFields, setCookieCutter, setCurrentFormTheme, setDashboardCachingManager, setDecorator, setEnableJavascript, setEnvironmentService, setErrorMessages, setFeatureManager, setI18nBeanFactory, setJobEquiv, setJsonator, setLinkedDeploymentProjectCacheService, setNavigationContext, setPlanManager, setPluginAccessor, setProfile, setProjectManager, setReturnUrl, setServerLifecycleProvider, setWebInterfaceManager, toJson, toJsonaddActionMessage, addFieldError, clearActionErrors, clearErrors, clearErrorsAndMessages, clearFieldErrors, clearMessages, clone, getActionErrors, getActionMessages, getErrorMessages, getErrors, getFormatted, getLocale, hasActionErrors, hasActionMessages, hasErrors, hasFieldErrors, pause, setActionErrors, setActionMessages, setContainer, setFieldErrorsequals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetImmutablePlan, getMutablePlan, getPlan, setPlangetSecuredDomainObjectgetErrorMessages, getErrorspublic void validate()
validate in interface com.opensymphony.xwork2.Validateablevalidate in class com.opensymphony.xwork2.ActionSupportpublic String doExecute() throws Exception
doExecute in class BambooActionSupportException - Generic failurepublic String doDefault() throws Exception
BambooActionSupportdoDefault in class BambooActionSupportExceptionpublic StatisticsCollector getStatistics()
getStatistics in interface StatisticsAwarepublic void setStatistics(StatisticsCollector statistics)
setStatistics in interface StatisticsAwarepublic BuildStatusHelper getBuildStatusHelper()
public Collection<ErrorDetails> getBuildErrors()
public FilterController getFilterController()
public void setFilterController(FilterController filterController)
public List<? extends ResultsSummary> getResultsList()
BuildResultsSummary objects for the specified build. These are
sorted most recent first.getResultsList in interface ResultsListAwarepublic void setResultsList(List<? extends ResultsSummary> results)
setResultsList in interface ResultsListAware@Nullable public BuildAgent getAgent(@NotNull CurrentlyBuilding currentlyBuilding)
public Pager getPager()
@Nullable public ResultsSummary getLastSuccessfulSummary()
@Nullable public ResultsSummary getLatestSummary()
public void setAgentManager(AgentManager agentManager)
Copyright © 2016 Atlassian Software Systems Pty Ltd. All rights reserved.