com.atlassian.bamboo.ww2.actions.admin.elastic.schedule
Class ConfigureElasticInstanceSchedule
java.lang.Object
com.opensymphony.xwork2.ActionSupport
com.atlassian.bamboo.ww2.BambooActionSupport
com.atlassian.bamboo.configuration.GlobalAdminAction
com.atlassian.bamboo.ww2.actions.admin.elastic.schedule.ConfigureElasticInstanceSchedule
- All Implemented Interfaces:
- ErrorCollection, BambooSessionAware, NavigationAware, DomainObjectSecurityAware, GlobalAdminSecurityAware, GlobalReadSecurityAware, ReturnUrlAware, com.atlassian.core.i18n.I18nTextProvider, com.opensymphony.xwork2.Action, com.opensymphony.xwork2.LocaleProvider, com.opensymphony.xwork2.TextProvider, com.opensymphony.xwork2.Validateable, com.opensymphony.xwork2.ValidationAware, Serializable
public class ConfigureElasticInstanceSchedule
- extends GlobalAdminAction
- implements GlobalAdminSecurityAware
- See Also:
- Serialized Form
Fields inherited from class com.atlassian.bamboo.ww2.BambooActionSupport |
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 |
Fields inherited from class com.opensymphony.xwork2.ActionSupport |
LOG |
Fields inherited from interface com.opensymphony.xwork2.Action |
ERROR, INPUT, LOGIN, NONE, SUCCESS |
Methods inherited from class com.atlassian.bamboo.ww2.BambooActionSupport |
addActionError, addActionWarning, addError, addError, addErrorCollection, addErrorMessage, addErrorMessage, addErrorMessages, addErrors, addFieldErrors, addHelpPanel, addIllegalArgumentException, areCheckBoxesEmpty, buildJsonObject, buildWebPanelContext, checkFieldXssSafety, createFieldValidator, doDefault, doesHelpLinkHaveMatchingTitle, doesLabelKeyHaveMatchingDescription, doExecute, 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, setPlanExecutionManager, setPlanManager, setPluginAccessor, setProfile, setProjectManager, setReturnUrl, setServerLifecycleProvider, setWebInterfaceManager, toJson, toJson |
Methods inherited from class com.opensymphony.xwork2.ActionSupport |
addActionMessage, addFieldError, clearActionErrors, clearErrors, clearErrorsAndMessages, clearFieldErrors, clearMessages, clone, getActionErrors, getActionMessages, getErrorMessages, getErrors, getFormatted, getLocale, hasActionErrors, hasActionMessages, hasErrors, hasFieldErrors, pause, setActionErrors, setActionMessages, setContainer, setFieldErrors |
Methods inherited from interface com.opensymphony.xwork2.ValidationAware |
addActionMessage, addFieldError, getActionErrors, getActionMessages, hasActionErrors, hasActionMessages, hasErrors, hasFieldErrors, setActionErrors, setActionMessages, setFieldErrors |
ConfigureElasticInstanceSchedule
public ConfigureElasticInstanceSchedule()
validate
public void validate()
- Specified by:
validate
in interface com.opensymphony.xwork2.Validateable
- Overrides:
validate
in class com.opensymphony.xwork2.ActionSupport
doRead
public String doRead()
throws Exception
- Throws:
Exception
doAdd
public String doAdd()
throws Exception
- Throws:
Exception
doCopy
public String doCopy()
throws Exception
- Throws:
Exception
doEnable
public String doEnable()
throws Exception
- Throws:
Exception
doDisable
public String doDisable()
throws Exception
- Throws:
Exception
doEdit
public String doEdit()
throws Exception
- Throws:
Exception
doSave
public String doSave()
throws Exception
- Throws:
Exception
doDelete
public String doDelete()
throws Exception
- Throws:
Exception
getActiveInstanceAdjustmentTypes
public List<ActiveInstanceAdjustmentType> getActiveInstanceAdjustmentTypes()
getElasticImageConfigurations
public List<ElasticImageConfiguration> getElasticImageConfigurations()
getWhenOptions
public com.atlassian.bamboo.ww2.actions.admin.elastic.schedule.ConfigureElasticInstanceSchedule.WhenOption[] getWhenOptions()
getWhatOptions
public com.atlassian.bamboo.ww2.actions.admin.elastic.schedule.ConfigureElasticInstanceSchedule.WhatOption[] getWhatOptions()
isConfirmed
public boolean isConfirmed()
setConfirmed
public void setConfirmed(boolean confirmed)
getElasticInstanceScheduleId
public long getElasticInstanceScheduleId()
setElasticInstanceScheduleId
public void setElasticInstanceScheduleId(long elasticInstanceScheduleId)
getCronExpression
public String getCronExpression()
setCronExpression
public void setCronExpression(String cronExpression)
getElasticImageConfigurationId
public long getElasticImageConfigurationId()
setElasticImageConfigurationId
public void setElasticImageConfigurationId(long elasticImageConfigurationId)
getActiveInstanceAdjustmentType
public String getActiveInstanceAdjustmentType()
setActiveInstanceAdjustmentType
public void setActiveInstanceAdjustmentType(String activeInstanceAdjustmentType)
getTargetActiveInstances
public int getTargetActiveInstances()
setTargetActiveInstances
public void setTargetActiveInstances(int targetActiveInstances)
isEnabled
public boolean isEnabled()
setEnabled
public void setEnabled(boolean enabled)
getWhenOption
public com.atlassian.bamboo.ww2.actions.admin.elastic.schedule.ConfigureElasticInstanceSchedule.WhenOption getWhenOption()
setWhenOption
public void setWhenOption(com.atlassian.bamboo.ww2.actions.admin.elastic.schedule.ConfigureElasticInstanceSchedule.WhenOption whenOption)
getWhatOption
public com.atlassian.bamboo.ww2.actions.admin.elastic.schedule.ConfigureElasticInstanceSchedule.WhatOption getWhatOption()
setWhatOption
public void setWhatOption(com.atlassian.bamboo.ww2.actions.admin.elastic.schedule.ConfigureElasticInstanceSchedule.WhatOption whatOption)
setElasticInstanceScheduleManager
public void setElasticInstanceScheduleManager(ElasticInstanceScheduleManager elasticInstanceScheduleManager)
setElasticImageConfigurationDao
public void setElasticImageConfigurationDao(ElasticImageConfigurationDao elasticImageConfigurationDao)
Copyright © 2015 Atlassian Software Systems Pty Ltd. All rights reserved.