Class ConfigureArtifactSubscription

java.lang.Object
com.opensymphony.xwork2.ActionSupport
com.atlassian.bamboo.ww2.BambooActionSupport
com.atlassian.bamboo.ww2.actions.PlanActionSupport
com.atlassian.bamboo.ww2.actions.build.admin.config.ConfigureArtifactSubscription
All Implemented Interfaces:
JsonStreamingAction, ErrorCollection, BambooSessionAware, NavigationAware, DomainObjectSecurityAware, GlobalReadSecurityAware, PlanEditSecurityAware, PlanAware, ProjectAware, 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 ConfigureArtifactSubscription extends PlanActionSupport implements PlanEditSecurityAware
See Also:
  • Constructor Details

    • ConfigureArtifactSubscription

      public ConfigureArtifactSubscription()
  • Method Details

    • doDefault

      public String doDefault() throws Exception
      Description copied from class: BambooActionSupport
      Default action just sends to the input
      Overrides:
      doDefault in class BambooActionSupport
      Throws:
      Exception
    • input

      public String input() throws Exception
      Overrides:
      input in class com.opensymphony.xwork2.ActionSupport
      Throws:
      Exception
    • create

      public String create() throws Exception
      Throws:
      Exception
    • update

      public String update()
    • delete

      public String delete()
    • 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.

    • setArtifactDefinitionManager

      public void setArtifactDefinitionManager(ArtifactDefinitionManager artifactDefinitionManager)
    • setArtifactSubscriptionManager

      public void setArtifactSubscriptionManager(ArtifactSubscriptionManager artifactSubscriptionManager)
    • getSubscriptionId

      public long getSubscriptionId()
    • setSubscriptionId

      public void setSubscriptionId(long subscriptionId)
    • getArtifactSubscription

      public ArtifactSubscription getArtifactSubscription()
    • setArtifactSubscription

      public void setArtifactSubscription(ArtifactSubscription artifactSubscription)
    • getArtifactDefinitionId

      public long getArtifactDefinitionId()
    • setArtifactDefinitionId

      public void setArtifactDefinitionId(long artifactDefinitionId)
    • getDestination

      public String getDestination()
    • setDestination

      public void setDestination(String destination)
    • getArtifactSubscriptions

      public List<ArtifactSubscription> getArtifactSubscriptions()
    • getAvailableArtifacts

      public List<ArtifactDefinition> getAvailableArtifacts()