Package com.atlassian.bamboo.trigger
Class TriggerDefinitionImpl
java.lang.Object
com.atlassian.bamboo.trigger.TriggerDefinitionImpl
- All Implemented Interfaces:
BambooIdProvider
,PluginKeyProvider
,TriggerDefinition
,NameProvider
,Serializable
- See Also:
-
Nested Class Summary
-
Method Summary
Modifier and TypeMethodDescriptionlong
getId()
@NotNull String
getName()
@NotNull String
Configuration 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
-
Method Details
-
getPluginKey
- Specified by:
getPluginKey
in interfacePluginKeyProvider
- Returns:
- full plugin module key
-
getConfiguration
- Specified by:
getConfiguration
in interfaceTriggerDefinition
-
getId
public long getId()- Specified by:
getId
in interfaceBambooIdProvider
-
getUserDescription
- Specified by:
getUserDescription
in interfaceTriggerDefinition
-
getName
- Specified by:
getName
in interfaceNameProvider
-
getTriggeringRepositories
Description copied from interface:TriggerDefinition
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.- Specified by:
getTriggeringRepositories
in interfaceTriggerDefinition
-
getTriggerConditionsConfiguration
Description copied from interface:TriggerDefinition
Configuration ofBuildTriggerCondition
plugins related with this trigger. Applies to plans only.- Specified by:
getTriggerConditionsConfiguration
in interfaceTriggerDefinition
- Returns:
-
isEnabled
public boolean isEnabled()- Specified by:
isEnabled
in interfaceTriggerDefinition
- Returns:
- true iff this trigger is active
-