Class ConfigureElasticInstanceSchedules

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.ConfigureElasticInstanceSchedules
All Implemented Interfaces:
JsonStreamingAction, ErrorCollection, BambooSessionAware, NavigationAware, DomainObjectSecurityAware, GlobalAdminSecurityAware, GlobalReadSecurityAware, ReturnUrlAware, com.atlassian.core.i18n.I18nTextProvider, com.atlassian.struts.TextProvider, com.atlassian.struts.ValidationAware, com.opensymphony.xwork.ValidationAware, com.opensymphony.xwork2.Action, com.opensymphony.xwork2.interceptor.ValidationAware, com.opensymphony.xwork2.LocaleProvider, com.opensymphony.xwork2.TextProvider, com.opensymphony.xwork2.Validateable, Serializable

public class ConfigureElasticInstanceSchedules extends GlobalAdminAction implements GlobalAdminSecurityAware
Action for dealing with many ElasticInstanceSchedule
See Also:
  • Constructor Details

    • ConfigureElasticInstanceSchedules

      public ConfigureElasticInstanceSchedules()
  • Method Details

    • list

      public String list() throws Exception
      Throws:
      Exception
    • enableAll

      public String enableAll() throws Exception
      Throws:
      Exception
    • disableAll

      public String disableAll() throws Exception
      Throws:
      Exception
    • getElasticInstanceSchedules

      public List<ElasticInstanceSchedule> getElasticInstanceSchedules()
    • getPrettyCronExpression

      public String getPrettyCronExpression(String cronExpression)
    • getTrigger

      @Nullable public @Nullable org.quartz.Trigger getTrigger(@NotNull @NotNull ElasticInstanceSchedule elasticInstanceSchedule)
    • getElasticInstanceScheduleId

      public long getElasticInstanceScheduleId()
    • setElasticInstanceScheduleId

      public void setElasticInstanceScheduleId(long elasticInstanceScheduleId)
    • setElasticInstanceScheduleManager

      public void setElasticInstanceScheduleManager(ElasticInstanceScheduleManager elasticInstanceScheduleManager)
    • setElasticInstanceScheduleScheduler

      public void setElasticInstanceScheduleScheduler(ElasticInstanceScheduleScheduler elasticInstanceScheduleScheduler)