Class AfterSuccessfulStageTriggerProperties

  • All Implemented Interfaces:
    com.atlassian.bamboo.specs.api.model.EntityProperties

    @Immutable
    public class AfterSuccessfulStageTriggerProperties
    extends DeploymentTriggerProperties
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static java.lang.String MODULE_KEY  
      static java.lang.String NAME  
    • Constructor Summary

      Constructors 
      Constructor Description
      AfterSuccessfulStageTriggerProperties​(java.lang.String description, boolean triggerEnabled, java.lang.String stageName, java.lang.String releaseBranch)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean equals​(java.lang.Object o)  
      @NotNull com.atlassian.bamboo.specs.api.model.AtlassianModuleProperties getAtlassianPlugin()  
      java.lang.String getReleaseBranch()  
      java.lang.String getStageName()  
      int hashCode()  
      void validate()  
      • Methods inherited from class com.atlassian.bamboo.specs.api.model.trigger.TriggerProperties

        getConditions, getDescription, getName, isEnabled, toString
      • Methods inherited from class java.lang.Object

        clone, finalize, getClass, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • AfterSuccessfulStageTriggerProperties

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

      • getStageName

        public java.lang.String getStageName()
      • getReleaseBranch

        public java.lang.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​(java.lang.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