Package com.atlassian.bamboo.variable
Interface VariableDefinitionManager
- All Superinterfaces:
VariableDefinitionAccessor
- All Known Implementing Classes:
VariableDefinitionManagerImpl
Secure variables are encoded/decoded on the fly. If you need encoded versions of secure variables, use
EncryptedVariableDefinitionAccessor
.-
Method Summary
Modifier and TypeMethodDescription@NotNull VariableContextBuilder
void
deleteVariableDefinition
(@NotNull VariableDefinition variableDefinition) Delete variable definitionvoid
deleteVariablesForPlan
(@NotNull Plan plan) Removes variable definitions form specified planvoid
saveVariableDefinition
(@NotNull VariableDefinition variableDefinition) Save variable definitionvoid
saveVariableDefinition
(@NotNull VariableDefinition variableDefinition, @Nullable String previousValue) Save variable definitionvoid
saveVariableDefinitions
(List<VariableDefinition> variableDefinitions) Save all variable definitions on the listMethods inherited from interface com.atlassian.bamboo.variable.VariableDefinitionAccessor
countAllProjectsVariables, countDeploymentEnvironmentVariables, findAllProjectsIdsUsingProjectVariables, findVariableDefinition, getDeploymentEnvironmentVariables, getDeploymentVersionVariables, getGlobalNotOverriddenEnvironmentVariables, getGlobalNotOverriddenVariables, getGlobalNotOverriddenVariables, getGlobalVariableByKey, getGlobalVariables, getInheritedNotOverriddenVariables, getInheritedVariables, getPlanVariableByKey, getPlanVariables, getProjectVariables, getSimpleVariableMapByType
-
Method Details
-
saveVariableDefinition
Save variable definition- Parameters:
variableDefinition
- variable definition to be saved
-
saveVariableDefinition
void saveVariableDefinition(@NotNull @NotNull VariableDefinition variableDefinition, @Nullable @Nullable String previousValue) Save variable definition- Parameters:
variableDefinition
- variable definition to be savedpreviousValue
- previous variable value
-
deleteVariableDefinition
Delete variable definition- Parameters:
variableDefinition
- variable definition to be deleted
-
deleteVariablesForPlan
Removes variable definitions form specified plan- Parameters:
plan
-
-
saveVariableDefinitions
Save all variable definitions on the list -
createVariableContextBuilder
-