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
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionlonggetId()@NotNull StringgetName()@NotNull StringConfiguration ofBuildTriggerConditionplugins 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 Stringboolean
-
Method Details
-
getPluginKey
- Specified by:
getPluginKeyin interfacePluginKeyProvider- Returns:
- full plugin module key
-
getConfiguration
- Specified by:
getConfigurationin interfaceTriggerDefinition
-
getId
public long getId()- Specified by:
getIdin interfaceBambooIdProvider
-
getUserDescription
- Specified by:
getUserDescriptionin interfaceTriggerDefinition
-
getName
- Specified by:
getNamein interfaceNameProvider
-
getTriggeringRepositories
Description copied from interface:TriggerDefinitionIf 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:
getTriggeringRepositoriesin interfaceTriggerDefinition
-
getTriggerConditionsConfiguration
Description copied from interface:TriggerDefinitionConfiguration ofBuildTriggerConditionplugins related with this trigger. Applies to plans only.- Specified by:
getTriggerConditionsConfigurationin interfaceTriggerDefinition- Returns:
-
isEnabled
public boolean isEnabled()- Specified by:
isEnabledin interfaceTriggerDefinition- Returns:
- true iff this trigger is active
-