Modifier and Type | Field and Description |
---|---|
protected FinalArrayList<TriggerDefinition> |
DefaultBuildDefinition.triggerDefinitions |
Modifier and Type | Method and Description |
---|---|
List<TriggerDefinition> |
DefaultBuildDefinition.getTriggerDefinitions() |
List<TriggerDefinition> |
PartialBuildDefinition.getTriggerDefinitions() |
List<TriggerDefinition> |
BuildDefinition.getTriggerDefinitions()
Definitions of all automatic build triggers defined for this build.
|
Modifier and Type | Method and Description |
---|---|
void |
DefaultBuildDefinition.setTriggerDefinitions(List<TriggerDefinition> triggerDefinitions) |
void |
BuildDefinition.setTriggerDefinitions(List<TriggerDefinition> triggerDefinitions)
Replace existing list of triggers with a new one.
|
Modifier and Type | Method and Description |
---|---|
TriggerDefinition |
TriggerDefinitionExportHelper.importTriggerDefinition(long id,
Triggerable triggerable,
com.atlassian.bamboo.specs.api.model.trigger.TriggerProperties triggerProperties) |
Modifier and Type | Method and Description |
---|---|
com.atlassian.bamboo.specs.api.builders.trigger.Trigger |
TriggerDefinitionExportHelper.toSpecsEntity(Set<Long> availableRepositories,
TriggerDefinition triggerDefinition) |
Modifier and Type | Method and Description |
---|---|
TriggerDefinition |
EnvironmentTriggerValidationError.getTriggerDefinition() |
Modifier and Type | Method and Description |
---|---|
List<TriggerDefinition> |
EnvironmentWithConfigCounts.getTriggerDefinitions() |
List<TriggerDefinition> |
EnvironmentImpl.getTriggerDefinitions() |
Constructor and Description |
---|
EnvironmentTriggerValidationError(Environment environment,
TriggerDefinition triggerDefinition,
String errorMessage) |
Modifier and Type | Field and Description |
---|---|
protected TriggerDefinition |
ConfigureEnvironmentTriggers.triggerDefinition |
Modifier and Type | Method and Description |
---|---|
TriggerDefinition |
ConfigureEnvironmentTriggers.getTriggerDefinition() |
protected TriggerDefinition |
ConfigureEnvironmentTriggers.getTriggerDefinitionById(long id) |
Modifier and Type | Method and Description |
---|---|
List<TriggerDefinition> |
ConfigureEnvironmentTriggers.getTriggers() |
Modifier and Type | Method and Description |
---|---|
com.google.common.collect.ImmutableList<TriggerDefinition> |
MutableEnvironmentImpl.getTriggerDefinitions() |
Modifier and Type | Method and Description |
---|---|
TriggerDefinition |
EnvironmentTriggerServiceImpl.createEnvironmentTrigger(long environmentId,
TriggerModuleDescriptor triggerModuleDescriptor,
String userDescription,
boolean isEnabled,
Map<String,String> configuration) |
TriggerDefinition |
EnvironmentTriggerService.createEnvironmentTrigger(long environmentId,
TriggerModuleDescriptor triggerModuleDescriptor,
String userDescription,
boolean isEnabled,
Map<String,String> configuration)
Create a trigger Definition and save it against the plan
|
TriggerDefinition |
EnvironmentTriggerServiceImpl.editEnvironmentTrigger(long environmentId,
long triggerId,
String userDescription,
boolean isEnabled,
Map<String,String> triggerConfigurationMap) |
TriggerDefinition |
EnvironmentTriggerService.editEnvironmentTrigger(long environmentId,
long triggerId,
String userDescription,
boolean isEnabled,
Map<String,String> triggerConfigurationMap)
Update the details of specific triggerDefinition
|
Modifier and Type | Method and Description |
---|---|
boolean |
EnvironmentAwareEnvironmentTriggerConfigurator.isAffectedByEnvironmentDeletion(long environmentId,
TriggerDefinition triggerDefinition)
Check if trigger will be affected when Environment is deleted.
|
boolean |
PlanAwareEnvironmentTriggerConfigurator.isAffectedByPlanDeletion(PlanKey deletedPlanKey,
TriggerDefinition triggerDefinition)
Check if trigger will be affected when Plan is deleted.
|
void |
PlanAwareEnvironmentTriggerConfigurator.onDeploymentProjectPlanUpdate(ImmutableChain oldPlan,
ImmutableChain newPlan,
TriggerDefinition triggerDefinition)
Update trigger definition when plan related to deployment is changed.
|
boolean |
PlanAwareEnvironmentTriggerConfigurator.updatePlanKey(PlanKey originalPlanKey,
PlanKey newPlanKey,
TriggerDefinition triggerDefinition)
Change plan key referenced by a trigger.
|
void |
PlanAwareEnvironmentTriggerConfigurator.validateDeploymentProjectPlanUpdate(ImmutableChain oldPlan,
ImmutableChain newPlan,
Environment environment,
List<EnvironmentTriggerValidationError> triggerValidationErrors,
TriggerDefinition triggerDefinition)
Validate change of plan deployment is related to.
|
Modifier and Type | Method and Description |
---|---|
List<TriggerDefinition> |
AbstractChain.getTriggerDefinitions() |
Modifier and Type | Method and Description |
---|---|
List<TriggerDefinition> |
AbstractImmutableChain.getTriggerDefinitions() |
Modifier and Type | Field and Description |
---|---|
static com.google.common.base.Predicate<TriggerDefinition> |
StashTriggerConfigurator.IS_ACTIVE_STASH_TRIGGER
Deprecated.
since 5.10 use method reference to
StashTriggerConfigurator.isActiveStashTrigger(TriggerDefinition) |
Modifier and Type | Method and Description |
---|---|
Map<String,String> |
StashTriggerConfigurator.generateTriggerConfigMap(ActionParametersMap actionParametersMap,
TriggerDefinition previousTriggerDefinition) |
protected org.quartz.Trigger |
StashTriggerActivator.getTrigger(Triggerable triggerable,
TriggerDefinition triggerDefinition,
Date lastShutdownTime) |
static boolean |
StashTriggerConfigurator.isActiveStashTrigger(TriggerDefinition triggerDefinition) |
void |
StashTriggerConfigurator.populateContextForEdit(Map<String,Object> context,
TriggerDefinition triggerDefinition) |
void |
StashTriggerConfigurator.populateContextForView(Map<String,Object> context,
TriggerDefinition triggerDefinition) |
com.atlassian.bamboo.specs.api.builders.trigger.Trigger |
BitbucketServerTriggerExporter.toSpecsEntity(TriggerDefinition triggerDefinition) |
Modifier and Type | Method and Description |
---|---|
List<TriggerDefinition> |
RestEnvironment.getTriggerDefinitions() |
Modifier and Type | Class and Description |
---|---|
class |
TriggerDefinitionImpl |
Modifier and Type | Method and Description |
---|---|
TriggerDefinition |
TriggerDefinitionImpl.Builder.build() |
static TriggerDefinition |
TriggerDefinition2BuildStrategyConverter.buildStrategy2TriggerDefinition(BuildStrategy buildStrategy)
Deprecated.
|
TriggerDefinition |
TriggerConfigurationServiceImpl.createTrigger(PlanKey planKey,
TriggerModuleDescriptor triggerDescriptor,
String userDescription,
boolean isEnabled,
Set<Long> triggeringRepositories,
Map<String,String> configuration,
Map<String,String> triggerConditionsConfiguration) |
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 |
TriggerConfigurationServiceImpl.editTrigger(PlanKey planKey,
long triggerId,
String userDescription,
boolean isEnabled,
Set<Long> triggeringRepositories,
Map<String,String> triggerConfigurationMap,
Map<String,String> triggerConditionsConfiguration) |
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
|
static TriggerDefinition |
TriggerConfigurationUtils.getTriggerDefinitionById(Iterable<TriggerDefinition> triggers,
long id) |
Modifier and Type | Method and Description |
---|---|
List<TriggerDefinition> |
Triggerable.getTriggerDefinitions() |
static com.google.common.collect.ImmutableList<TriggerDefinition> |
TriggerConfigurationUtils.getTriggerDefinitionsFromConfig(org.apache.commons.configuration.HierarchicalConfiguration fromConfig)
Retrieves tasks from build configuration
|
static com.google.common.collect.ImmutableList<TriggerDefinition> |
TriggerConfigurationUtils.getTriggerDefinitionsFromConfigNotNull(org.apache.commons.configuration.HierarchicalConfiguration buildConfiguration) |
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
|
TriggerDefinitionImpl.Builder |
TriggerDefinitionImpl.Builder.fromExisting(TriggerDefinition triggerDefinition) |
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) |
static void |
TriggerConfigurationUtils.triggerConditionsToConfiguration(org.apache.commons.configuration.HierarchicalConfiguration buildConfiguration,
TriggerDefinition triggerDefinition) |
static BuildStrategy |
TriggerDefinition2BuildStrategyConverter.triggerDefinition2BuildStrategy(TriggerDefinition triggerDefinition)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
static void |
TriggerConfigurationUtils.addTriggerDefinitionsToConfig(Iterable<TriggerDefinition> triggerDefinitions,
org.apache.commons.configuration.HierarchicalConfiguration config)
Adds tasks to a build configuration
|
void |
TriggerConfigurationServiceImpl.createTriggerList(PlanKey planKey,
List<TriggerDefinition> triggerDefinitions) |
void |
TriggerConfigurationService.createTriggerList(PlanKey planKey,
List<TriggerDefinition> triggerDefinitions)
Initializes trigger list of a plan with the provided list.
|
static TriggerDefinition |
TriggerConfigurationUtils.getTriggerDefinitionById(Iterable<TriggerDefinition> triggers,
long id) |
static long |
TriggerConfigurationUtils.getUniqueId(List<TriggerDefinition> triggers)
Returns id of trigger that is not used in provided list.
|
static void |
TriggerConfigurationUtils.removeRepositoryIdsFromTriggers(List<TriggerDefinition> triggers,
Set<Long> removedRepositoryIds) |
static void |
TriggerConfigurationUtils.updateRepositoryIdsInTriggers(List<TriggerDefinition> triggers,
Map<Long,Long> repositoryIdsChanges) |
Modifier and Type | Method and Description |
---|---|
Map<String,String> |
CronTriggerConfigurator.generateTriggerConfigMap(ActionParametersMap actionParametersMap,
TriggerDefinition previousTriggerDefinition) |
protected org.quartz.Trigger |
CronTriggerActivator.getTrigger(Triggerable triggerable,
TriggerDefinition triggerDefinition,
Date lastShutdownTime) |
boolean |
CronTriggerConfigurator.isAffectedByPlanDeletion(PlanKey deletedPlanKey,
TriggerDefinition triggerDefinition) |
void |
CronTriggerConfigurator.onDeploymentProjectPlanUpdate(ImmutableChain oldPlan,
ImmutableChain newPlan,
TriggerDefinition triggerDefinition) |
void |
CronTriggerConfigurator.populateContextForEdit(Map<String,Object> context,
TriggerDefinition triggerDefinition) |
void |
CronTriggerConfigurator.populateContextForView(Map<String,Object> context,
TriggerDefinition triggerDefinition) |
boolean |
CronTriggerConfigurator.updatePlanKey(PlanKey originalPlanKey,
PlanKey newPlanKey,
TriggerDefinition triggerDefinition) |
void |
CronTriggerConfigurator.validateDeploymentProjectPlanUpdate(ImmutableChain oldPlan,
ImmutableChain newPlan,
Environment environment,
List<EnvironmentTriggerValidationError> triggerValidationErrors,
TriggerDefinition triggerDefinition) |
Modifier and Type | Method and Description |
---|---|
Map<String,String> |
DailyTriggerConfigurator.generateTriggerConfigMap(ActionParametersMap actionParametersMap,
TriggerDefinition previousTriggerDefinition) |
protected org.quartz.Trigger |
DailyTriggerActivator.getTrigger(Triggerable triggerable,
TriggerDefinition triggerDefinition,
Date lastShutdownTime) |
void |
DailyTriggerConfigurator.populateContextForEdit(Map<String,Object> context,
TriggerDefinition triggerDefinition) |
void |
DailyTriggerConfigurator.populateContextForView(Map<String,Object> context,
TriggerDefinition triggerDefinition) |
Modifier and Type | Method and Description |
---|---|
void |
AfterSuccessfulPlanTriggerActivator.activate(Triggerable triggerable,
TriggerDefinition triggerDefinition) |
void |
AfterSuccessfulDeploymentTriggerActivator.activate(Triggerable triggerable,
TriggerDefinition triggerDefinition) |
void |
AfterSuccessfulStageTriggerActivator.activate(Triggerable triggerable,
TriggerDefinition triggerDefinition) |
void |
AfterSuccessfulPlanTriggerActivator.deactivate(Triggerable triggerable,
TriggerDefinition triggerDefinition) |
void |
AfterSuccessfulDeploymentTriggerActivator.deactivate(Triggerable triggerable,
TriggerDefinition triggerDefinition) |
void |
AfterSuccessfulStageTriggerActivator.deactivate(Triggerable triggerable,
TriggerDefinition triggerDefinition) |
Map<String,String> |
AfterSuccessfulPlanTriggerConfigurator.generateTriggerConfigMap(ActionParametersMap actionParametersMap,
TriggerDefinition previousTriggerDefinition) |
Map<String,String> |
AfterSuccessfulStageTriggerConfigurator.generateTriggerConfigMap(ActionParametersMap actionParametersMap,
TriggerDefinition previousTriggerDefinition) |
Map<String,String> |
AfterSuccessfulDeploymentTriggerConfigurator.generateTriggerConfigMap(ActionParametersMap actionParametersMap,
TriggerDefinition previousTriggerDefinition) |
void |
AfterSuccessfulPlanTriggerActivator.initAndActivate(Triggerable triggerable,
TriggerDefinition triggerDefinition,
Date lastShutdownTime) |
void |
AfterSuccessfulDeploymentTriggerActivator.initAndActivate(Triggerable triggerable,
TriggerDefinition triggerDefinition,
Date lastShutdownTime) |
void |
AfterSuccessfulStageTriggerActivator.initAndActivate(Triggerable triggerable,
TriggerDefinition triggerDefinition,
Date lastShutdownTime) |
boolean |
AfterSuccessfulDeploymentTriggerConfigurator.isAffectedByEnvironmentDeletion(long environmentId,
TriggerDefinition triggerDefinition) |
boolean |
AfterSuccessfulPlanTriggerConfigurator.isAffectedByPlanDeletion(PlanKey deletedPlanKey,
TriggerDefinition triggerDefinition) |
boolean |
AfterSuccessfulStageTriggerConfigurator.isAffectedByPlanDeletion(PlanKey deletedPlanKey,
TriggerDefinition triggerDefinition) |
void |
AfterSuccessfulPlanTriggerConfigurator.onDeploymentProjectPlanUpdate(ImmutableChain oldPlan,
ImmutableChain newPlan,
TriggerDefinition triggerDefinition) |
void |
AfterSuccessfulStageTriggerConfigurator.onDeploymentProjectPlanUpdate(ImmutableChain oldPlan,
ImmutableChain newPlan,
TriggerDefinition triggerDefinition) |
void |
AfterSuccessfulPlanTriggerConfigurator.populateContextForEdit(Map<String,Object> context,
TriggerDefinition triggerDefinition) |
void |
AfterSuccessfulStageTriggerConfigurator.populateContextForEdit(Map<String,Object> context,
TriggerDefinition triggerDefinition) |
void |
AfterSuccessfulDeploymentTriggerConfigurator.populateContextForEdit(Map<String,Object> context,
TriggerDefinition triggerDefinition) |
void |
AfterSuccessfulPlanTriggerConfigurator.populateContextForView(Map<String,Object> context,
TriggerDefinition triggerDefinition) |
void |
AfterSuccessfulStageTriggerConfigurator.populateContextForView(Map<String,Object> context,
TriggerDefinition triggerDefinition) |
void |
AfterSuccessfulDeploymentTriggerConfigurator.populateContextForView(Map<String,Object> context,
TriggerDefinition triggerDefinition) |
boolean |
AfterSuccessfulPlanTriggerConfigurator.updatePlanKey(PlanKey originalPlanKey,
PlanKey newPlanKey,
TriggerDefinition triggerDefinition) |
boolean |
AfterSuccessfulStageTriggerConfigurator.updatePlanKey(PlanKey originalPlanKey,
PlanKey newPlanKey,
TriggerDefinition triggerDefinition) |
void |
AfterSuccessfulPlanTriggerConfigurator.validateDeploymentProjectPlanUpdate(ImmutableChain oldPlan,
ImmutableChain newPlan,
Environment environment,
List<EnvironmentTriggerValidationError> triggerValidationErrors,
TriggerDefinition triggerDefinition) |
void |
AfterSuccessfulStageTriggerConfigurator.validateDeploymentProjectPlanUpdate(ImmutableChain oldPlan,
ImmutableChain newPlan,
Environment environment,
List<EnvironmentTriggerValidationError> triggerValidationErrors,
TriggerDefinition triggerDefinition) |
Modifier and Type | Method and Description |
---|---|
com.atlassian.bamboo.specs.api.builders.trigger.Trigger |
DefaultTriggerDefinitionExporter.toSpecsEntity(TriggerDefinition triggerDefinition) |
com.atlassian.bamboo.specs.api.builders.trigger.Trigger |
TriggerDefinitionExporter.toSpecsEntity(TriggerDefinition triggerDefinition)
Create Bamboo Specs object representing this trigger.
|
Modifier and Type | Method and Description |
---|---|
com.atlassian.bamboo.specs.api.builders.trigger.Trigger |
RepositoryPollingTriggerDefinitionExporter.toSpecsEntity(TriggerDefinition triggerDefinition) |
com.atlassian.bamboo.specs.api.builders.trigger.Trigger |
RemoteTriggerDefinitionExporter.toSpecsEntity(TriggerDefinition triggerDefinition)
This method receives and
TriggerDefinition . |
com.atlassian.bamboo.specs.api.builders.trigger.Trigger |
ScheduledTriggerDefinitionExporter.toSpecsEntity(TriggerDefinition triggerDefinition) |
Modifier and Type | Method and Description |
---|---|
protected void |
PollingTriggerQuartzJob.executeForTriggerDefinition(org.quartz.JobExecutionContext jobExecutionContext,
TriggerDefinition triggerDefinition) |
Map<String,String> |
PollingTriggerConfigurator.generateTriggerConfigMap(ActionParametersMap actionParametersMap,
TriggerDefinition previousTriggerDefinition) |
protected org.quartz.Trigger |
PollingTriggerActivator.getTrigger(Triggerable triggerable,
TriggerDefinition triggerDefinition,
Date lastShutdownTime) |
void |
PollingTriggerConfigurator.populateContextForEdit(Map<String,Object> context,
TriggerDefinition triggerDefinition) |
void |
PollingTriggerConfigurator.populateContextForView(Map<String,Object> context,
TriggerDefinition triggerDefinition) |
Modifier and Type | Method and Description |
---|---|
void |
AbstractQuartzTriggerActivator.activate(Triggerable triggerable,
TriggerDefinition triggerDefinition) |
protected org.quartz.JobDetail |
AbstractQuartzTriggerActivator.createJobDetail(Triggerable triggerable,
TriggerDefinition triggerDefinition,
String jobName) |
void |
AbstractQuartzTriggerActivator.deactivate(Triggerable triggerable,
TriggerDefinition triggerDefinition) |
protected abstract org.quartz.Trigger |
AbstractQuartzTriggerActivator.getTrigger(Triggerable triggerable,
TriggerDefinition triggerDefinition,
Date lastShutdownTime) |
protected String |
AbstractQuartzTriggerActivator.getUniqueId(Triggerable triggerable,
TriggerDefinition triggerDefinition) |
void |
AbstractQuartzTriggerActivator.initAndActivate(Triggerable triggerable,
TriggerDefinition triggerDefinition,
Date lastShutdownTime) |
Modifier and Type | Method and Description |
---|---|
void |
RemoteTriggerActivator.activate(Triggerable triggerable,
TriggerDefinition triggerDefinition) |
void |
RemoteTriggerActivator.deactivate(Triggerable triggerable,
TriggerDefinition triggerDefinition) |
Map<String,String> |
RemoteTriggerConfigurator.generateTriggerConfigMap(ActionParametersMap actionParametersMap,
TriggerDefinition previousTriggerDefinition) |
static Set<String> |
RemoteTriggerConfigurator.getAllowedIpAddressFromConfiguration(TriggerDefinition triggerDefinition) |
void |
RemoteTriggerActivator.initAndActivate(Triggerable triggerable,
TriggerDefinition triggerDefinition,
Date lastShutdownTime) |
static boolean |
RemoteTriggerConfigurator.isActiveRemoteTrigger(TriggerDefinition triggerDefinition) |
void |
RemoteTriggerConfigurator.populateContextForEdit(Map<String,Object> context,
TriggerDefinition triggerDefinition) |
void |
RemoteTriggerConfigurator.populateContextForView(Map<String,Object> context,
TriggerDefinition triggerDefinition) |
Modifier and Type | Method and Description |
---|---|
TriggerDefinition |
ChangeDetectionRequiredEvent.getTrigger() |
Constructor and Description |
---|
ChangeDetectionRequiredEvent(Object source,
PlanKey planKey,
TriggerDefinition triggerDefinition,
boolean logIfNoChanges) |
ChangeDetectionRequiredEvent(Object source,
PlanKey planKey,
TriggerDefinition triggerDefinition,
boolean logIfNoChanges,
CacheAwareness.CacheInfo... cachesToIgnore) |
ChangeDetectionRequiredEvent(Object source,
String buildKey,
TriggerDefinition triggerDefinition,
boolean logIfNoChanges)
Deprecated.
since 5.9
|
Modifier and Type | Field and Description |
---|---|
protected TriggerDefinition |
ConfigureChainTrigger.triggerDefinition |
Modifier and Type | Method and Description |
---|---|
TriggerDefinition |
ConfigureChainTrigger.getTriggerDefinition() |
protected TriggerDefinition |
ConfigureChainTrigger.getTriggerDefinitionById(long id) |
Modifier and Type | Method and Description |
---|---|
List<TriggerDefinition> |
ConfigureChainTriggers.getChainTriggers() |
Modifier and Type | Method and Description |
---|---|
Map<String,String> |
TriggerUIConfigBean.getTriggerConfigurationMap(TriggerModuleDescriptor triggerDescriptor,
TriggerDefinition previousTriggerDefinition) |
String |
TriggerUIConfigBean.prepareEditHtml(TriggerModuleDescriptor triggerDescriptor,
TriggerDefinition triggerDefinition,
TaskRenderMode renderMode,
Triggerable triggerable) |
String |
TriggerUIConfigBean.prepareViewHtml(TriggerModuleDescriptor triggerDescriptor,
TriggerDefinition triggerDefinition,
Triggerable triggerable) |
Copyright © 2017 Atlassian Software Systems Pty Ltd. All rights reserved.