public class QuarantineSettingsAction extends GlobalAdminAction implements com.atlassian.struts.Preparable
BambooActionSupport.JSONStatus| Modifier and Type | Field and Description |
|---|---|
static org.joda.time.format.PeriodFormatter |
PERIOD_FORMATTER |
RESTRICTED_ADMIN_ACCESS_DENIED_ERRORACCESS_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 |
|---|
QuarantineSettingsAction() |
| Modifier and Type | Method and Description |
|---|---|
String |
execute() |
String |
getCronExpression() |
int |
getExpiryDuration() |
String |
getExpiryPeriod() |
String |
input() |
boolean |
isEnabled() |
boolean |
isExpiryOverridable() |
void |
prepare() |
void |
setCronExpression(String cronExpression) |
void |
setEnabled(boolean enabled) |
void |
setExpiryDuration(int expiryDuration) |
void |
setExpiryOverridable(boolean expiryOverridable) |
void |
setExpiryPeriod(String expiryPeriod) |
void |
setQuarantineExpiryCleanupScheduler(QuarantineExpiryCleanupScheduler quarantineExpiryCleanupScheduler) |
void |
validate() |
getSecuredDomainObjectaddActionError, addActionWarning, addError, addError, addErrorCollection, addErrorMessage, addErrorMessage, addErrorMessages, addErrors, addFieldErrors, addHelpPanel, addIllegalArgumentException, areCheckBoxesEmpty, buildJsonObject, buildWebPanelContext, checkFieldXssSafety, createFieldValidator, doDefault, doesHelpLinkHaveMatchingTitle, doesLabelKeyHaveMatchingDescription, doExecute, doInput, 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, 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, setPlanExecutionManager, 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, waitgetErrorMessages, getErrorspublic static final org.joda.time.format.PeriodFormatter PERIOD_FORMATTER
public void prepare()
throws Exception
prepare in interface com.opensymphony.xwork2.PreparableExceptionpublic void validate()
validate in interface com.opensymphony.xwork2.Validateablevalidate in class com.opensymphony.xwork2.ActionSupportpublic String input() throws Exception
input in class BambooActionSupportExceptionpublic String execute() throws Exception
execute in interface com.opensymphony.xwork2.Actionexecute in class BambooActionSupportExceptionpublic void setQuarantineExpiryCleanupScheduler(QuarantineExpiryCleanupScheduler quarantineExpiryCleanupScheduler)
public boolean isEnabled()
public void setEnabled(boolean enabled)
public int getExpiryDuration()
public void setExpiryDuration(int expiryDuration)
public String getExpiryPeriod()
public void setExpiryPeriod(String expiryPeriod)
public boolean isExpiryOverridable()
public void setExpiryOverridable(boolean expiryOverridable)
public String getCronExpression()
public void setCronExpression(String cronExpression)
Copyright © 2016 Atlassian Software Systems Pty Ltd. All rights reserved.