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) |
void |
validate(ActionParametersMap actionParametersMap,
ErrorCollection errorCollection) |
getBranchName, getRepositorySelectionMode, hasDeploymentProjectPlanMultipleBranches, hasTheSameMasterPlanAsDeploymentProject, populateContextWithBranchControlVariablesForDeployments, setCachedPlanManager, setCustomVariableContext, setI18nResolver, setUiConfigSupport
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getRepositorySelectionMode, isRepositorySelectable
public 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 TriggerConfigurator
public void populateContextForEdit(@NotNull Map<String,Object> context, @NotNull TriggerDefinition triggerDefinition)
populateContextForEdit
in interface TriggerConfigurator
public void populateContextForView(@NotNull Map<String,Object> context, @NotNull TriggerDefinition triggerDefinition)
populateContextForView
in interface TriggerConfigurator
public 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 TriggerConfigurator
public boolean isAffectedByEnvironmentDeletion(@NotNull long environmentId, @NotNull TriggerDefinition triggerDefinition)
EnvironmentAwareEnvironmentTriggerConfigurator
isAffectedByEnvironmentDeletion
in interface EnvironmentAwareEnvironmentTriggerConfigurator
environmentId
- id of an Environment being deletedpublic void setEnvironmentService(EnvironmentService environmentService)
Copyright © 2017 Atlassian Software Systems Pty Ltd. All rights reserved.