public class TriggerDefinitionImpl extends Object implements TriggerDefinition
| Modifier and Type | Class and Description |
|---|---|
static class |
TriggerDefinitionImpl.Builder |
| Modifier and Type | Method and Description |
|---|---|
@NotNull Map<String,String> |
getConfiguration() |
long |
getId() |
@NotNull String |
getName() |
@NotNull String |
getPluginKey() |
@NotNull Map<String,String> |
getTriggerConditionsConfiguration()
Configuration of
BuildTriggerCondition plugins related with this trigger. |
@NotNull Set<Long> |
getTriggeringRepositories()
If trigger checks if repositories changed in order to decide weather build should be run,
this method returns ids of the repositories that are checked.
|
@Nullable String |
getUserDescription() |
boolean |
isEnabled() |
@NotNull public @NotNull String getPluginKey()
getPluginKey in interface PluginKeyProvider@NotNull public @NotNull Map<String,String> getConfiguration()
getConfiguration in interface TriggerDefinitionpublic long getId()
getId in interface BambooIdProvider@Nullable public @Nullable String getUserDescription()
getUserDescription in interface TriggerDefinition@NotNull public @NotNull String getName()
getName in interface NameProvider@NotNull public @NotNull Set<Long> getTriggeringRepositories()
TriggerDefinitiongetTriggeringRepositories in interface TriggerDefinition@NotNull public @NotNull Map<String,String> getTriggerConditionsConfiguration()
TriggerDefinitionBuildTriggerCondition plugins related with this trigger.
Applies to plans only.getTriggerConditionsConfiguration in interface TriggerDefinitionpublic boolean isEnabled()
isEnabled in interface TriggerDefinitionCopyright © 2022 Atlassian Software Systems Pty Ltd. All rights reserved.