Class AfterSuccessfulDeploymentTriggerProperties

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

@Immutable public class AfterSuccessfulDeploymentTriggerProperties extends DeploymentTriggerProperties
  • Field Details

  • Constructor Details

    • AfterSuccessfulDeploymentTriggerProperties

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

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

    • getEnvironment

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