public class PlanStatusHistoryAction extends BambooActionSupport
BambooActionSupport.JSONStatus
ACCESS_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 |
---|
PlanStatusHistoryAction() |
Modifier and Type | Method and Description |
---|---|
String |
doList() |
ResultsSummary |
findLastBuildResultBefore(String buildKey,
int buildNumber) |
Integer |
getBuildNumber() |
PlanKey |
getJobKey() |
com.opensymphony.webwork.dispatcher.json.JSONObject |
getJsonObject()
This is default property read by webwork for webwork's result type "json".
|
List<Map<String,Object>> |
getNavigableBuilds() |
String |
getNavigableSummariesKey() |
ImmutableChain |
getPlan() |
PlanKey |
getPlanKey() |
String |
getScanDirection() |
Object |
getSecuredDomainObject() |
void |
setBuildKey(String buildKey) |
void |
setBuildNumber(Integer buildNumber) |
void |
setPlanKey(PlanKey planKey) |
void |
setResultsSummaryManager(ResultsSummaryManager resultsSummaryManager) |
void |
setScanDirection(String scanDirection) |
void |
setTextProvider(com.opensymphony.xwork2.TextProvider textProvider) |
addActionError, addActionWarning, addError, addError, addErrorCollection, addErrorMessage, addErrorMessage, addErrorMessages, addErrors, addFieldErrors, addHelpPanel, addIllegalArgumentException, areCheckBoxesEmpty, buildJsonObject, buildWebPanelContext, checkFieldXssSafety, createFieldValidator, doDefault, doesHelpLinkHaveMatchingTitle, doesLabelKeyHaveMatchingDescription, doExecute, doInput, forceRelativeReturnUrl, getActionWarnings, getAdministrationConfiguration, getAvailableCategoryJson, getBamboo, getBambooLicenseManager, getBambooPermissionManager, getBambooSession, getBambooUrl, getBambooUserManager, getBaseUrl, getBestBaseUrl, getBootstrapManager, getBreadCrumbs, getChainEquiv, getConcurrentBuildsEnabled, getConglomerateCookieValue, getCookieCutter, getCookieValue, getCurrentFormTheme, getCurrentSystemTime, getCurrentUrl, getDefaultPersister, getDescriptionFromLabelKey, getElasticConfig, getErrorMessages, getErrors, getFeatureManager, getFieldErrorAccessTracker, getFieldErrors, getFlushedErrorMessages, getFormattedActionErrors, getFormattedActionMessages, getFormattedActionWarnings, getHelpPanels, getInstanceName, getJobEquiv, 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, hasPlanPermission, hasPlanPermission, hasRestrictedAdminPermission, 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, setErrorMessages, setFeatureManager, setI18nBeanFactory, setJobEquiv, setJsonator, setNavigationContext, setPlanExecutionManager, setPlanManager, setPluginAccessor, setProfile, setProjectManager, setReturnUrl, setServerLifecycleProvider, setWebInterfaceManager, toJson, toJson
addActionMessage, addFieldError, clearActionErrors, clearErrors, clearErrorsAndMessages, clearFieldErrors, clearMessages, clone, execute, getActionErrors, getActionMessages, getFormatted, getLocale, hasActionErrors, hasActionMessages, hasErrors, hasFieldErrors, input, pause, setActionErrors, setActionMessages, setContainer, setFieldErrors, validate
@Nullable public Object getSecuredDomainObject()
getSecuredDomainObject
in interface DomainObjectSecurityAware
getSecuredDomainObject
in class BambooActionSupport
public String doList()
@NotNull public com.opensymphony.webwork.dispatcher.json.JSONObject getJsonObject() throws com.opensymphony.webwork.dispatcher.json.JSONException
BambooActionSupport
getJsonObject
in class BambooActionSupport
com.opensymphony.webwork.dispatcher.json.JSONException
If descending classes need to add anything to JSON response these should override {@link #buildJsonObject()} method.
@Nullable public ResultsSummary findLastBuildResultBefore(@NotNull String buildKey, int buildNumber)
@Nullable public ImmutableChain getPlan()
public PlanKey getPlanKey()
public void setPlanKey(PlanKey planKey)
@Nullable public PlanKey getJobKey()
public void setBuildKey(String buildKey)
public String getNavigableSummariesKey()
@Nullable public Integer getBuildNumber()
public void setBuildNumber(@Nullable Integer buildNumber)
@Nullable public String getScanDirection()
public void setScanDirection(@Nullable String scanDirection)
public void setTextProvider(com.opensymphony.xwork2.TextProvider textProvider)
public void setResultsSummaryManager(ResultsSummaryManager resultsSummaryManager)
Copyright © 2016 Atlassian Software Systems Pty Ltd. All rights reserved.