Class RepositoryPollingTriggerProperties
- java.lang.Object
-
- com.atlassian.bamboo.specs.api.model.trigger.TriggerProperties
-
- com.atlassian.bamboo.specs.api.model.trigger.RepositoryBasedTriggerProperties
-
- com.atlassian.bamboo.specs.model.trigger.RepositoryPollingTriggerProperties
-
- All Implemented Interfaces:
EntityProperties
@Immutable public final class RepositoryPollingTriggerProperties extends RepositoryBasedTriggerProperties
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
RepositoryPollingTriggerProperties.PollType
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
MODULE_KEY
-
Constructor Summary
Constructors Constructor Description RepositoryPollingTriggerProperties(java.lang.String description, boolean isEnabled, java.util.Set<TriggerConditionProperties> conditions, RepositoryBasedTrigger.TriggeringRepositoriesType triggeringRepositoriesType, java.util.List<VcsRepositoryIdentifierProperties> triggeringRepositories, java.lang.String cronExpression)
RepositoryPollingTriggerProperties(java.lang.String description, boolean isEnabled, java.util.Set<TriggerConditionProperties> conditions, RepositoryBasedTrigger.TriggeringRepositoriesType triggeringRepositoriesType, java.util.List<VcsRepositoryIdentifierProperties> selectedTriggeringRepositories, java.time.Duration pollingPeriod)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object o)
@NotNull AtlassianModuleProperties
getAtlassianPlugin()
@Nullable java.lang.String
getCronExpression()
@Nullable java.time.Duration
getPollingPeriod()
RepositoryPollingTriggerProperties.PollType
getPollType()
int
hashCode()
void
validate()
-
Methods inherited from class com.atlassian.bamboo.specs.api.model.trigger.RepositoryBasedTriggerProperties
applicableTo, getSelectedTriggeringRepositories, getTriggeringRepositoriesType
-
Methods inherited from class com.atlassian.bamboo.specs.api.model.trigger.TriggerProperties
getConditions, getDescription, getName, isEnabled, toString
-
-
-
-
Field Detail
-
MODULE_KEY
public static final java.lang.String MODULE_KEY
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
RepositoryPollingTriggerProperties
public RepositoryPollingTriggerProperties(java.lang.String description, boolean isEnabled, java.util.Set<TriggerConditionProperties> conditions, RepositoryBasedTrigger.TriggeringRepositoriesType triggeringRepositoriesType, java.util.List<VcsRepositoryIdentifierProperties> triggeringRepositories, java.lang.String cronExpression)
-
RepositoryPollingTriggerProperties
public RepositoryPollingTriggerProperties(java.lang.String description, boolean isEnabled, java.util.Set<TriggerConditionProperties> conditions, RepositoryBasedTrigger.TriggeringRepositoriesType triggeringRepositoriesType, java.util.List<VcsRepositoryIdentifierProperties> selectedTriggeringRepositories, java.time.Duration pollingPeriod)
-
-
Method Detail
-
getAtlassianPlugin
@NotNull public @NotNull AtlassianModuleProperties getAtlassianPlugin()
- Specified by:
getAtlassianPlugin
in classTriggerProperties
-
getPollType
public RepositoryPollingTriggerProperties.PollType getPollType()
-
getPollingPeriod
@Nullable public @Nullable java.time.Duration getPollingPeriod()
-
getCronExpression
@Nullable public @Nullable java.lang.String getCronExpression()
-
validate
public void validate()
- Specified by:
validate
in interfaceEntityProperties
- Overrides:
validate
in classRepositoryBasedTriggerProperties
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals
in classRepositoryBasedTriggerProperties
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classRepositoryBasedTriggerProperties
-
-