Class ScheduledTriggerProperties

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

@Immutable public final class ScheduledTriggerProperties extends com.atlassian.bamboo.specs.api.model.trigger.TriggerProperties
  • Field Details

  • Constructor Details

    • ScheduledTriggerProperties

      @Deprecated public ScheduledTriggerProperties(String description, boolean isEnabled, Set<com.atlassian.bamboo.specs.api.model.trigger.TriggerConditionProperties> conditions, @NotNull @NotNull String cronExpression, @Nullable @Nullable String artifactBranch, boolean skipIfLatestVersionAlreadyDeployed, @NotNull @NotNull ScheduledTriggerProperties.Container container) throws com.atlassian.bamboo.specs.api.exceptions.PropertiesValidationException
      Deprecated.
      since 10.0
      Throws:
      com.atlassian.bamboo.specs.api.exceptions.PropertiesValidationException
    • ScheduledTriggerProperties

      public ScheduledTriggerProperties(String name, String description, boolean isEnabled, Set<com.atlassian.bamboo.specs.api.model.trigger.TriggerConditionProperties> conditions, @NotNull @NotNull String cronExpression, @Nullable @Nullable String artifactBranch, boolean skipIfLatestVersionAlreadyDeployed, @NotNull @NotNull ScheduledTriggerProperties.Container container) throws com.atlassian.bamboo.specs.api.exceptions.PropertiesValidationException
      Throws:
      com.atlassian.bamboo.specs.api.exceptions.PropertiesValidationException
  • Method Details

    • 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
    • getCronExpression

      public String getCronExpression()
    • getArtifactBranch

      public String getArtifactBranch()
    • getContainer

      public ScheduledTriggerProperties.Container getContainer()
    • isSkipIfLatestVersionAlreadyDeployed

      public boolean isSkipIfLatestVersionAlreadyDeployed()
    • 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
    • applicableTo

      public EnumSet<com.atlassian.bamboo.specs.api.builders.Applicability> applicableTo()
      Overrides:
      applicableTo in class com.atlassian.bamboo.specs.api.model.trigger.TriggerProperties
    • 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