Class CronExpressionGeneratorAction

java.lang.Object
com.opensymphony.xwork2.ActionSupport
com.atlassian.bamboo.ww2.BambooActionSupport
com.atlassian.bamboo.ww2.actions.CronExpressionGeneratorAction
All Implemented Interfaces:
JsonStreamingAction, ErrorCollection, BambooSessionAware, NavigationAware, DomainObjectSecurityAware, 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 CronExpressionGeneratorAction extends BambooActionSupport
See Also:
  • Constructor Details

    • CronExpressionGeneratorAction

      public CronExpressionGeneratorAction()
  • Method Details

    • validate

      public void validate()
      Specified by:
      validate in interface com.opensymphony.xwork2.Validateable
      Overrides:
      validate in class com.opensymphony.xwork2.ActionSupport
    • getJsonObject

      @NotNull public @NotNull com.opensymphony.webwork.dispatcher.json.JSONObject getJsonObject() throws com.opensymphony.webwork.dispatcher.json.JSONException
      Description copied from class: BambooActionSupport
      This is default property read by webwork for webwork's result type "json".
      Overrides:
      getJsonObject in class BambooActionSupport
      Returns:
      Throws:
      com.opensymphony.webwork.dispatcher.json.JSONException
      See Also:
      • JSON Result

        If descending classes need to add anything to JSON response these should override #buildJsonObject() method.

    • getCronEditorBean

      public BambooCronEditorBean getCronEditorBean()
    • getBeanFromCronExpression

      public com.atlassian.core.cron.CronEditorBean getBeanFromCronExpression(String backupCronExpression)
    • setCronEditorBean

      public void setCronEditorBean(BambooCronEditorBean cronEditorBean)
    • getCronExpression

      public String getCronExpression()
    • setCronExpression

      public void setCronExpression(String cronExpression)