Package com.atlassian.bamboo.trigger
Interface TriggerDefinition
-
- All Superinterfaces:
BambooIdProvider
,NameProvider
,PluginKeyProvider
,Serializable
- All Known Implementing Classes:
TriggerDefinitionImpl
public interface TriggerDefinition extends BambooIdProvider, NameProvider, Serializable, PluginKeyProvider
Generic trigger configuration.- Since:
- 5.8
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description @NotNull Map<String,String>
getConfiguration()
@NotNull Map<String,String>
getTriggerConditionsConfiguration()
Configuration ofBuildTriggerCondition
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()
-
Methods inherited from interface com.atlassian.bamboo.core.BambooIdProvider
getId
-
Methods inherited from interface com.atlassian.bamboo.utils.NameProvider
getName
-
Methods inherited from interface com.atlassian.bamboo.plugin.PluginKeyProvider
getPluginKey
-
-
-
-
Method Detail
-
getUserDescription
@Nullable @Nullable String getUserDescription()
-
getTriggeringRepositories
@NotNull @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. Otherwise it should return empty set. Applies to plans only.
-
getTriggerConditionsConfiguration
@NotNull @NotNull Map<String,String> getTriggerConditionsConfiguration()
Configuration ofBuildTriggerCondition
plugins related with this trigger. Applies to plans only.- Returns:
-
isEnabled
boolean isEnabled()
- Returns:
- true iff this trigger is active
-
-