Package com.atlassian.bamboo.variable
Interface VariableDefinitionManager
-
- All Superinterfaces:
VariableDefinitionAccessor
- All Known Implementing Classes:
VariableDefinitionManagerImpl
@PublicApi public interface VariableDefinitionManager extends VariableDefinitionAccessor
Secure variables are encoded/decoded on the fly. If you need encoded versions of secure variables, useEncryptedVariableDefinitionAccessor
.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description @NotNull VariableContextBuilder
createVariableContextBuilder()
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 list-
Methods 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 Detail
-
saveVariableDefinition
void saveVariableDefinition(@NotNull @NotNull VariableDefinition variableDefinition)
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
void deleteVariableDefinition(@NotNull @NotNull VariableDefinition variableDefinition)
Delete variable definition- Parameters:
variableDefinition
- variable definition to be deleted
-
deleteVariablesForPlan
void deleteVariablesForPlan(@NotNull @NotNull Plan plan)
Removes variable definitions form specified plan- Parameters:
plan
-
-
saveVariableDefinitions
void saveVariableDefinitions(List<VariableDefinition> variableDefinitions)
Save all variable definitions on the list
-
createVariableContextBuilder
@NotNull @NotNull VariableContextBuilder createVariableContextBuilder()
-
-