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
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionScheduledTriggerProperties(String description, boolean isEnabled, Set<com.atlassian.bamboo.specs.api.model.trigger.TriggerConditionProperties> conditions, @NotNull String cronExpression, @Nullable String artifactBranch, boolean skipIfLatestVersionAlreadyDeployed, @NotNull ScheduledTriggerProperties.Container container) Deprecated.since 10.0ScheduledTriggerProperties(String name, String description, boolean isEnabled, Set<com.atlassian.bamboo.specs.api.model.trigger.TriggerConditionProperties> conditions, @NotNull String cronExpression, @Nullable String artifactBranch, boolean skipIfLatestVersionAlreadyDeployed, @NotNull ScheduledTriggerProperties.Container container) -
Method Summary
Methods inherited from class com.atlassian.bamboo.specs.api.model.trigger.TriggerProperties
getConditions, getDescription, getName, isEnabled, toString
-
Field Details
-
MODULE_KEY
- See Also:
-
-
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.0Deprecated. UseScheduledTriggerProperties(String, String, boolean, Set, String, String, boolean, Container)- 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:
getAtlassianPluginin classcom.atlassian.bamboo.specs.api.model.trigger.TriggerProperties
-
getCronExpression
-
getArtifactBranch
-
getContainer
-
isSkipIfLatestVersionAlreadyDeployed
public boolean isSkipIfLatestVersionAlreadyDeployed() -
validate
public void validate() throws com.atlassian.bamboo.specs.api.exceptions.PropertiesValidationException- Specified by:
validatein interfacecom.atlassian.bamboo.specs.api.model.EntityProperties- Overrides:
validatein classcom.atlassian.bamboo.specs.api.model.trigger.TriggerProperties- Throws:
com.atlassian.bamboo.specs.api.exceptions.PropertiesValidationException
-
applicableTo
- Overrides:
applicableToin classcom.atlassian.bamboo.specs.api.model.trigger.TriggerProperties
-
equals
- Overrides:
equalsin classcom.atlassian.bamboo.specs.api.model.trigger.TriggerProperties
-
hashCode
public int hashCode()- Overrides:
hashCodein classcom.atlassian.bamboo.specs.api.model.trigger.TriggerProperties
-