public class AfterSuccessfulDeploymentTriggerConfigurator extends AbstractEnvironmentTriggerConfigurator implements EnvironmentAwareEnvironmentTriggerConfigurator
TriggerConfigurator.RepositorySelectionMode| Modifier and Type | Field and Description |
|---|---|
static String |
CFG_DEPLOYMENT_ID |
static String |
CFG_ENVIRONMENTS |
static String |
CFG_TRIGGERING_ENVIRONMENT_ID |
cachedPlanManager, CFG_BRANCH_NAME, CFG_BRANCH_SELECTION_OPTIONS, CFG_PLAN_HAS_MULTIPLE_BRANCHES, CFG_TRIGGERING_PLAN, CFG_TRIGGERING_PLAN_MATCHES_DEPLOYMENT, DEPLOYMENT_PROJECT, ENVIRONMENT, ENVIRONMENT_ID, i18nResolver| Constructor and Description |
|---|
AfterSuccessfulDeploymentTriggerConfigurator() |
| Modifier and Type | Method and Description |
|---|---|
Map<String,String> |
generateTriggerConfigMap(ActionParametersMap actionParametersMap,
TriggerDefinition previousTriggerDefinition) |
boolean |
isAffectedByEnvironmentDeletion(long environmentId,
TriggerDefinition triggerDefinition)
Check if trigger will be affected when Environment is deleted.
|
void |
populateContextForCreate(Map<String,Object> context) |
void |
populateContextForEdit(Map<String,Object> context,
TriggerDefinition triggerDefinition) |
void |
populateContextForView(Map<String,Object> context,
TriggerDefinition triggerDefinition) |
void |
setEnvironmentService(EnvironmentService environmentService)
Deprecated.
since 6.8 use constructor injection or annotation injection
|
void |
validate(ActionParametersMap actionParametersMap,
ErrorCollection errorCollection) |
getBranchName, getRepositorySelectionMode, hasDeploymentProjectPlanMultipleBranches, hasTheSameMasterPlanAsDeploymentProject, populateContextWithBranchControlVariablesForDeployments, setCachedPlanManager, setCustomVariableContext, setI18nResolver, setUiConfigSupportclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetRepositorySelectionMode, isRepositorySelectablepublic static final String CFG_TRIGGERING_ENVIRONMENT_ID
public static final String CFG_ENVIRONMENTS
public static final String CFG_DEPLOYMENT_ID
public AfterSuccessfulDeploymentTriggerConfigurator()
public void populateContextForCreate(@NotNull
Map<String,Object> context)
populateContextForCreate in interface TriggerConfiguratorpublic void populateContextForEdit(@NotNull
Map<String,Object> context,
@NotNull
TriggerDefinition triggerDefinition)
populateContextForEdit in interface TriggerConfiguratorpublic void populateContextForView(@NotNull
Map<String,Object> context,
@NotNull
TriggerDefinition triggerDefinition)
populateContextForView in interface TriggerConfiguratorpublic void validate(@NotNull
ActionParametersMap actionParametersMap,
@NotNull
ErrorCollection errorCollection)
validate in interface TriggerConfigurator@NotNull public Map<String,String> generateTriggerConfigMap(@NotNull ActionParametersMap actionParametersMap, @Nullable TriggerDefinition previousTriggerDefinition)
generateTriggerConfigMap in interface TriggerConfiguratorpublic boolean isAffectedByEnvironmentDeletion(@NotNull
long environmentId,
@NotNull
TriggerDefinition triggerDefinition)
EnvironmentAwareEnvironmentTriggerConfiguratorisAffectedByEnvironmentDeletion in interface EnvironmentAwareEnvironmentTriggerConfiguratorenvironmentId - id of an Environment being deleted@Deprecated public void setEnvironmentService(EnvironmentService environmentService)
Copyright © 2019 Atlassian Software Systems Pty Ltd. All rights reserved.