@Immutable public final class RepositoryPollingTriggerProperties extends RepositoryBasedTriggerProperties
Modifier and Type | Class and Description |
---|---|
static class |
RepositoryPollingTriggerProperties.PollType |
Modifier and Type | Field and Description |
---|---|
static String |
MODULE_KEY |
Constructor and Description |
---|
RepositoryPollingTriggerProperties(String description,
boolean isEnabled,
Set<TriggerConditionProperties> conditions,
RepositoryBasedTrigger.TriggeringRepositoriesType triggeringRepositoriesType,
List<VcsRepositoryIdentifierProperties> selectedTriggeringRepositories,
Duration pollingPeriod) |
RepositoryPollingTriggerProperties(String description,
boolean isEnabled,
Set<TriggerConditionProperties> conditions,
RepositoryBasedTrigger.TriggeringRepositoriesType triggeringRepositoriesType,
List<VcsRepositoryIdentifierProperties> triggeringRepositories,
String cronExpression) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
AtlassianModuleProperties |
getAtlassianPlugin() |
String |
getCronExpression() |
Duration |
getPollingPeriod() |
RepositoryPollingTriggerProperties.PollType |
getPollType() |
int |
hashCode() |
void |
validate() |
applicableTo, getSelectedTriggeringRepositories, getTriggeringRepositoriesType
getConditions, getDescription, getName, isEnabled, toString
public static final String MODULE_KEY
public RepositoryPollingTriggerProperties(String description, boolean isEnabled, Set<TriggerConditionProperties> conditions, RepositoryBasedTrigger.TriggeringRepositoriesType triggeringRepositoriesType, List<VcsRepositoryIdentifierProperties> triggeringRepositories, String cronExpression)
public RepositoryPollingTriggerProperties(String description, boolean isEnabled, Set<TriggerConditionProperties> conditions, RepositoryBasedTrigger.TriggeringRepositoriesType triggeringRepositoriesType, List<VcsRepositoryIdentifierProperties> selectedTriggeringRepositories, Duration pollingPeriod)
@NotNull public AtlassianModuleProperties getAtlassianPlugin()
getAtlassianPlugin
in class TriggerProperties
public RepositoryPollingTriggerProperties.PollType getPollType()
@Nullable public Duration getPollingPeriod()
@Nullable public String getCronExpression()
public void validate()
validate
in interface EntityProperties
validate
in class RepositoryBasedTriggerProperties
public boolean equals(Object o)
equals
in class RepositoryBasedTriggerProperties
public int hashCode()
hashCode
in class RepositoryBasedTriggerProperties
Copyright © 2020 Atlassian Software Systems Pty Ltd. All rights reserved.