public class TriggerDefinitionImpl extends Object implements TriggerDefinition
Modifier and Type | Class and Description |
---|---|
static class |
TriggerDefinitionImpl.Builder |
Modifier and Type | Method and Description |
---|---|
Map<String,String> |
getConfiguration() |
long |
getId() |
String |
getName() |
String |
getPluginKey() |
Map<String,String> |
getTriggerConditionsConfiguration()
Configuration of
BuildTriggerCondition plugins related with this trigger. |
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.
|
String |
getUserDescription() |
boolean |
isEnabled() |
@NotNull public String getPluginKey()
getPluginKey
in interface PluginKeyProvider
@NotNull public Map<String,String> getConfiguration()
getConfiguration
in interface TriggerDefinition
public long getId()
getId
in interface BambooIdProvider
@Nullable public String getUserDescription()
getUserDescription
in interface TriggerDefinition
@NotNull public String getName()
getName
in interface NameProvider
@NotNull public Set<Long> getTriggeringRepositories()
TriggerDefinition
getTriggeringRepositories
in interface TriggerDefinition
@NotNull public Map<String,String> getTriggerConditionsConfiguration()
TriggerDefinition
BuildTriggerCondition
plugins related with this trigger.
Applies to plans only.getTriggerConditionsConfiguration
in interface TriggerDefinition
public boolean isEnabled()
isEnabled
in interface TriggerDefinition
Copyright © 2020 Atlassian Software Systems Pty Ltd. All rights reserved.