Class AfterSuccessfulStageTriggerProperties

java.lang.Object
com.atlassian.bamboo.specs.api.model.trigger.TriggerProperties
com.atlassian.bamboo.specs.builders.trigger.DeploymentTriggerProperties
com.atlassian.bamboo.specs.model.trigger.AfterSuccessfulStageTriggerProperties
All Implemented Interfaces:
com.atlassian.bamboo.specs.api.model.EntityProperties

@Immutable public class AfterSuccessfulStageTriggerProperties extends DeploymentTriggerProperties
  • Field Details

  • Constructor Details

    • AfterSuccessfulStageTriggerProperties

      @Deprecated public AfterSuccessfulStageTriggerProperties(String description, boolean triggerEnabled, String stageName, String releaseBranch) throws com.atlassian.bamboo.specs.api.exceptions.PropertiesValidationException
      Deprecated.
      since 10.0
      Throws:
      com.atlassian.bamboo.specs.api.exceptions.PropertiesValidationException
    • AfterSuccessfulStageTriggerProperties

      public AfterSuccessfulStageTriggerProperties(String name, String description, boolean triggerEnabled, String stageName, String releaseBranch) throws com.atlassian.bamboo.specs.api.exceptions.PropertiesValidationException
      Throws:
      com.atlassian.bamboo.specs.api.exceptions.PropertiesValidationException
  • Method Details

    • getStageName

      public String getStageName()
    • getReleaseBranch

      public String getReleaseBranch()
    • getAtlassianPlugin

      @NotNull public @NotNull com.atlassian.bamboo.specs.api.model.AtlassianModuleProperties getAtlassianPlugin()
      Specified by:
      getAtlassianPlugin in class com.atlassian.bamboo.specs.api.model.trigger.TriggerProperties
    • validate

      public void validate() throws com.atlassian.bamboo.specs.api.exceptions.PropertiesValidationException
      Specified by:
      validate in interface com.atlassian.bamboo.specs.api.model.EntityProperties
      Overrides:
      validate in class com.atlassian.bamboo.specs.api.model.trigger.TriggerProperties
      Throws:
      com.atlassian.bamboo.specs.api.exceptions.PropertiesValidationException
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class com.atlassian.bamboo.specs.api.model.trigger.TriggerProperties
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class com.atlassian.bamboo.specs.api.model.trigger.TriggerProperties