Class ScheduledTriggerProperties
java.lang.Object
com.atlassian.bamboo.specs.api.model.trigger.TriggerProperties
com.atlassian.bamboo.specs.model.trigger.ScheduledTriggerProperties
- All Implemented Interfaces:
EntityProperties
-
Nested Class Summary
-
Field Summary
-
Constructor Summary
ConstructorDescriptionScheduledTriggerProperties
(String description, boolean isEnabled, Set<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<TriggerConditionProperties> conditions, @NotNull String cronExpression, @Nullable String artifactBranch, boolean skipIfLatestVersionAlreadyDeployed, @NotNull ScheduledTriggerProperties.Container container) -
Method Summary
Modifier and TypeMethodDescriptionboolean
@NotNull AtlassianModuleProperties
int
hashCode()
boolean
void
validate()
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<TriggerConditionProperties> conditions, @NotNull @NotNull String cronExpression, @Nullable @Nullable String artifactBranch, boolean skipIfLatestVersionAlreadyDeployed, @NotNull @NotNull ScheduledTriggerProperties.Container container) throws PropertiesValidationException Deprecated.since 10.0Deprecated. UseScheduledTriggerProperties(String, String, boolean, Set, String, String, boolean, Container)
- Throws:
PropertiesValidationException
-
ScheduledTriggerProperties
public ScheduledTriggerProperties(String name, String description, boolean isEnabled, Set<TriggerConditionProperties> conditions, @NotNull @NotNull String cronExpression, @Nullable @Nullable String artifactBranch, boolean skipIfLatestVersionAlreadyDeployed, @NotNull @NotNull ScheduledTriggerProperties.Container container) throws PropertiesValidationException - Throws:
PropertiesValidationException
-
-
Method Details
-
getAtlassianPlugin
- Specified by:
getAtlassianPlugin
in classTriggerProperties
-
getCronExpression
-
getArtifactBranch
-
getContainer
-
isSkipIfLatestVersionAlreadyDeployed
public boolean isSkipIfLatestVersionAlreadyDeployed() -
validate
- Specified by:
validate
in interfaceEntityProperties
- Overrides:
validate
in classTriggerProperties
- Throws:
PropertiesValidationException
-
applicableTo
- Overrides:
applicableTo
in classTriggerProperties
-
equals
- Overrides:
equals
in classTriggerProperties
-
hashCode
public int hashCode()- Overrides:
hashCode
in classTriggerProperties
-