| Package | Description |
|---|---|
| com.atlassian.bamboo.build | |
| com.atlassian.bamboo.trigger |
| Modifier and Type | Method and Description |
|---|---|
List<TriggerDefinition> |
BuildDefinition.getTriggerDefinitions()
Definitions of all automatic build triggers defined for this build.
|
List<TriggerDefinition> |
PartialBuildDefinition.getTriggerDefinitions() |
| Modifier and Type | Method and Description |
|---|---|
void |
BuildDefinition.setTriggerDefinitions(List<TriggerDefinition> triggerDefinitions)
Replace existing list of triggers with a new one.
|
| Modifier and Type | Method and Description |
|---|---|
TriggerDefinition |
TriggerConfigurationService.createTrigger(PlanKey planKey,
TriggerModuleDescriptor triggerModuleDescriptor,
String userDescription,
boolean isEnabled,
Set<Long> triggeringRepositories,
Map<String,String> configuration,
Map<String,String> triggerConditionsConfiguration)
Create a trigger Definition and save it against the plan
|
TriggerDefinition |
TriggerConfigurationService.editTrigger(PlanKey planKey,
long triggerId,
String userDescription,
boolean isEnabled,
Set<Long> triggeringRepositories,
Map<String,String> triggerConfigurationMap,
Map<String,String> triggerConditionsConfiguration)
Update the details of specific triggerDefinition
|
| Modifier and Type | Method and Description |
|---|---|
List<TriggerDefinition> |
Triggerable.getTriggerDefinitions() |
| Modifier and Type | Method and Description |
|---|---|
void |
TriggerActivator.activate(Triggerable triggerable,
TriggerDefinition triggerDefinition)
This method should activate any services or threads that are required for this trigger to function.
|
void |
TriggerActivator.deactivate(Triggerable triggerable,
TriggerDefinition triggerDefinition)
This method should deactivate any services or threads related to this trigger
This method is called:
- when triggered object is removed
- when trigger is removed
- before update of triggered object's configuration
- when trigger plugin module is disabled
|
Map<String,String> |
TriggerConfigurator.generateTriggerConfigMap(ActionParametersMap actionParametersMap,
TriggerDefinition previousTriggerDefinition) |
void |
TriggerActivator.initAndActivate(Triggerable triggerable,
TriggerDefinition triggerDefinition,
Date lastShutdownTime)
This method is called on Bamboo server startup and when trigger plugin is enabled.
|
void |
TriggerConfigurator.populateContextForEdit(Map<String,Object> context,
TriggerDefinition triggerDefinition) |
void |
TriggerConfigurator.populateContextForView(Map<String,Object> context,
TriggerDefinition triggerDefinition) |
| Modifier and Type | Method and Description |
|---|---|
void |
TriggerConfigurationService.createTriggerList(PlanKey planKey,
List<TriggerDefinition> triggerDefinitions)
Initializes trigger list of a plan with the provided list.
|
Copyright © 2016 Atlassian Software Systems Pty Ltd. All rights reserved.