com.atlassian.bamboo.ww2.actions.admin.elastic.schedule
Class ConfigureElasticInstanceSchedule

java.lang.Object
  extended by com.opensymphony.xwork2.ActionSupport
      extended by com.atlassian.bamboo.ww2.BambooActionSupport
          extended by com.atlassian.bamboo.configuration.GlobalAdminAction
              extended by 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

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.configuration.GlobalAdminAction
RESTRICTED_ADMIN_ACCESS_DENIED_ERROR
 
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
 
Constructor Summary
ConfigureElasticInstanceSchedule()
           
 
Method Summary
 String doAdd()
           
 String doCopy()
           
 String doDelete()
           
 String doDisable()
           
 String doEdit()
           
 String doEnable()
           
 String doRead()
           
 String doSave()
           
 String getActiveInstanceAdjustmentType()
           
 List<ActiveInstanceAdjustmentType> getActiveInstanceAdjustmentTypes()
           
 String getCronExpression()
           
 long getElasticImageConfigurationId()
           
 List<ElasticImageConfiguration> getElasticImageConfigurations()
           
 long getElasticInstanceScheduleId()
           
 int getTargetActiveInstances()
           
 com.atlassian.bamboo.ww2.actions.admin.elastic.schedule.ConfigureElasticInstanceSchedule.WhatOption getWhatOption()
           
 com.atlassian.bamboo.ww2.actions.admin.elastic.schedule.ConfigureElasticInstanceSchedule.WhatOption[] getWhatOptions()
           
 com.atlassian.bamboo.ww2.actions.admin.elastic.schedule.ConfigureElasticInstanceSchedule.WhenOption getWhenOption()
           
 com.atlassian.bamboo.ww2.actions.admin.elastic.schedule.ConfigureElasticInstanceSchedule.WhenOption[] getWhenOptions()
           
 boolean isConfirmed()
           
 boolean isEnabled()
           
 void setActiveInstanceAdjustmentType(String activeInstanceAdjustmentType)
           
 void setConfirmed(boolean confirmed)
           
 void setCronExpression(String cronExpression)
           
 void setElasticImageConfigurationDao(ElasticImageConfigurationDao elasticImageConfigurationDao)
           
 void setElasticImageConfigurationId(long elasticImageConfigurationId)
           
 void setElasticInstanceScheduleId(long elasticInstanceScheduleId)
           
 void setElasticInstanceScheduleManager(ElasticInstanceScheduleManager elasticInstanceScheduleManager)
           
 void setEnabled(boolean enabled)
           
 void setTargetActiveInstances(int targetActiveInstances)
           
 void setWhatOption(com.atlassian.bamboo.ww2.actions.admin.elastic.schedule.ConfigureElasticInstanceSchedule.WhatOption whatOption)
           
 void setWhenOption(com.atlassian.bamboo.ww2.actions.admin.elastic.schedule.ConfigureElasticInstanceSchedule.WhenOption whenOption)
           
 void validate()
           
 
Methods inherited from class com.atlassian.bamboo.configuration.GlobalAdminAction
getSecuredDomainObject
 
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 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
 
Methods inherited from interface com.opensymphony.xwork2.ValidationAware
addActionMessage, addFieldError, getActionErrors, getActionMessages, hasActionErrors, hasActionMessages, hasErrors, hasFieldErrors, setActionErrors, setActionMessages, setFieldErrors
 

Constructor Detail

ConfigureElasticInstanceSchedule

public ConfigureElasticInstanceSchedule()
Method Detail

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.