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
Modifier and TypeMethodDescriptionConfiguration ofBuildTriggerCondition
plugins related with this trigger.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
boolean
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 Details
-
getUserDescription
-
getConfiguration
-
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
Configuration ofBuildTriggerCondition
plugins related with this trigger. Applies to plans only.- Returns:
-
isEnabled
boolean isEnabled()- Returns:
- true iff this trigger is active
-