Package com.atlassian.bamboo.trigger
Interface TriggerModuleDescriptor
- All Superinterfaces:
com.atlassian.plugin.ModuleDescriptor<TriggerActivator>
,NameProvider
,com.atlassian.plugin.Resourced
,com.atlassian.plugin.ScopeAware
- All Known Implementing Classes:
TriggerModuleDescriptorImpl
public interface TriggerModuleDescriptor
extends com.atlassian.plugin.ModuleDescriptor<TriggerActivator>, NameProvider
- Since:
- 5.8
-
Method Summary
Modifier and TypeMethodDescriptionboolean
canTrigger
(@NotNull Triggerable triggerable) boolean
canTriggerType
(@NotNull Class<? extends Triggerable> triggerableType) @Nullable String
@Nullable TriggerConfigurator
Retrieves the plugin class responsible for handling user configuration of this plugin.@Nullable TriggerDefinitionExporter
Retrieves the plugin class responsible for exporting of user configuration of this plugin.boolean
Methods inherited from interface com.atlassian.plugin.ModuleDescriptor
destroy, equals, getCompleteKey, getDescription, getDescriptionKey, getDisplayName, getI18nNameKey, getKey, getMinJavaVersion, getModule, getModuleClass, getName, getParams, getPlugin, getPluginKey, hashCode, init, isBroken, isEnabled, isEnabledByDefault, isSystemModule, satisfiesMinJavaVersion, setBroken
Methods inherited from interface com.atlassian.bamboo.utils.NameProvider
getName
Methods inherited from interface com.atlassian.plugin.Resourced
getResourceDescriptor, getResourceDescriptors, getResourceLocation
Methods inherited from interface com.atlassian.plugin.ScopeAware
getScopeKey
-
Method Details
-
canTrigger
- Returns:
- true iff build strategy is applicable to a Triggerable
-
canTriggerType
- Returns:
- true iff build strategy is applicable to a Triggerable of given type
-
requiresChangeDetectionOnCompletion
boolean requiresChangeDetectionOnCompletion()- Returns:
- true iff plan executions with this trigger available should result in an extra change detection being performed. This is helpful for triggers that might be lost due to concurrency constraints and have no other fallback.
-
getTriggerConfigurator
Retrieves the plugin class responsible for handling user configuration of this plugin.- Returns:
TriggerConfigurator
for this ModuleDescriptor
-
getTriggerExporter
Retrieves the plugin class responsible for exporting of user configuration of this plugin.- Returns:
TriggerDefinitionExporter
for this ModuleDescriptor- Since:
- 5.14
-
getIconUrl
-