@PublicApi public interface VariableDefinitionManager extends VariableDefinitionAccessor
EncryptedVariableDefinitionAccessor
.Modifier and Type | Method and Description |
---|---|
VariableContextBuilder |
createVariableContextBuilder() |
void |
deleteVariableDefinition(VariableDefinition variableDefinition)
Delete variable definition
|
void |
deleteVariablesForPlan(Plan plan)
Removes variable definitions form specified plan
|
void |
saveVariableDefinition(VariableDefinition variableDefinition)
Save variable definition
|
void |
saveVariableDefinition(VariableDefinition variableDefinition,
String previousValue)
Save variable definition
|
void |
saveVariableDefinitions(List<VariableDefinition> variableDefinitions)
Save all variable definitions on the list
|
countDeploymentEnvironmentVariables, findVariableDefinition, getDeploymentEnvironmentVariables, getDeploymentVersionVariables, getGlobalNotOverriddenEnvironmentVariables, getGlobalNotOverriddenVariables, getGlobalVariableByKey, getGlobalVariables, getPlanVariableByKey, getPlanVariables, getSimpleVariableMapByType
void saveVariableDefinition(@NotNull VariableDefinition variableDefinition)
variableDefinition
- variable definition to be savedvoid saveVariableDefinition(@NotNull VariableDefinition variableDefinition, @Nullable String previousValue)
variableDefinition
- variable definition to be savedpreviousValue
- previous variable valuevoid deleteVariableDefinition(@NotNull VariableDefinition variableDefinition)
variableDefinition
- variable definition to be deletedvoid deleteVariablesForPlan(@NotNull Plan plan)
plan
- void saveVariableDefinitions(List<VariableDefinition> variableDefinitions)
@NotNull VariableContextBuilder createVariableContextBuilder()
Copyright © 2019 Atlassian Software Systems Pty Ltd. All rights reserved.