Class ScheduledTriggerProperties
- java.lang.Object
-
- com.atlassian.bamboo.specs.api.model.trigger.TriggerProperties
-
- com.atlassian.bamboo.specs.model.trigger.ScheduledTriggerProperties
-
- All Implemented Interfaces:
EntityProperties
@Immutable public final class ScheduledTriggerProperties extends TriggerProperties
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classScheduledTriggerProperties.Container
-
Field Summary
Fields Modifier and Type Field Description static StringMODULE_KEY
-
Constructor Summary
Constructors Constructor Description ScheduledTriggerProperties(String description, boolean isEnabled, Set<TriggerConditionProperties> conditions, @NotNull String cronExpression, @Nullable String artifactBranch, boolean skipIfLatestVersionAlreadyDeployed, @NotNull ScheduledTriggerProperties.Container container)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description EnumSet<Applicability>applicableTo()booleanequals(Object o)StringgetArtifactBranch()@NotNull AtlassianModulePropertiesgetAtlassianPlugin()ScheduledTriggerProperties.ContainergetContainer()StringgetCronExpression()inthashCode()booleanisSkipIfLatestVersionAlreadyDeployed()voidvalidate()-
Methods inherited from class com.atlassian.bamboo.specs.api.model.trigger.TriggerProperties
getConditions, getDescription, getName, isEnabled, toString
-
-
-
-
Field Detail
-
MODULE_KEY
public static final String MODULE_KEY
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
ScheduledTriggerProperties
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
- Throws:
PropertiesValidationException
-
-
Method Detail
-
getAtlassianPlugin
@NotNull public @NotNull AtlassianModuleProperties getAtlassianPlugin()
- Specified by:
getAtlassianPluginin classTriggerProperties
-
getCronExpression
public String getCronExpression()
-
getArtifactBranch
public String getArtifactBranch()
-
getContainer
public ScheduledTriggerProperties.Container getContainer()
-
isSkipIfLatestVersionAlreadyDeployed
public boolean isSkipIfLatestVersionAlreadyDeployed()
-
validate
public void validate() throws PropertiesValidationException- Specified by:
validatein interfaceEntityProperties- Overrides:
validatein classTriggerProperties- Throws:
PropertiesValidationException
-
applicableTo
public EnumSet<Applicability> applicableTo()
- Overrides:
applicableToin classTriggerProperties
-
equals
public boolean equals(Object o)
- Overrides:
equalsin classTriggerProperties
-
hashCode
public int hashCode()
- Overrides:
hashCodein classTriggerProperties
-
-