Package com.atlassian.bamboo.variable
Class VariableContextBuilderImpl
java.lang.Object
com.atlassian.bamboo.variable.VariableContextBuilderImpl
- All Implemented Interfaces:
VariableContextBuilder
-
Constructor Summary
ConstructorDescriptionVariableContextBuilderImpl
(VariableDefinitionManager variableDefinitionManager) -
Method Summary
Modifier and TypeMethodDescriptionadd
(Iterable<VariableDefinition> input) add
(Map<String, VariableDefinitionContext> input) addFromSubstitutionContext
(Iterable<? extends VariableSubstitutionContext> input) addFromVariableContext
(@Nullable VariableContext context) addManualAndResultVariablesFromContext
(@NotNull VariableContext variableContext) addManualVariables
(@Nullable Map<String, String> input) addParentPlanVariablesIfRequired
(@Nullable ImmutablePlan plan) addPlanAndProjectVariables
(@Nullable ImmutablePlan plan) addPlanVariables
(@Nullable ImmutablePlan plan) addProjectVariables
(long projectId) addVariablesForEnvironment
(@Nullable Long environmentId) addVariablesForVersion
(@Nullable Long deploymentVersionId) buildMap()
parentContext
(@Nullable VariableContext variableContext) Construct job's variable context by referencing plan's variable context
-
Constructor Details
-
VariableContextBuilderImpl
-
-
Method Details
-
enforcePasswordMasking
- Specified by:
enforcePasswordMasking
in interfaceVariableContextBuilder
-
excludePasswordVariables
- Specified by:
excludePasswordVariables
in interfaceVariableContextBuilder
-
addManualVariables
- Specified by:
addManualVariables
in interfaceVariableContextBuilder
-
add
- Specified by:
add
in interfaceVariableContextBuilder
-
add
- Specified by:
add
in interfaceVariableContextBuilder
-
addFromSubstitutionContext
public VariableContextBuilder addFromSubstitutionContext(Iterable<? extends VariableSubstitutionContext> input) - Specified by:
addFromSubstitutionContext
in interfaceVariableContextBuilder
-
addFromVariableContext
- Specified by:
addFromVariableContext
in interfaceVariableContextBuilder
-
addGlobalVariables
- Specified by:
addGlobalVariables
in interfaceVariableContextBuilder
-
addProjectVariables
- Specified by:
addProjectVariables
in interfaceVariableContextBuilder
-
addPlanAndProjectVariables
- Specified by:
addPlanAndProjectVariables
in interfaceVariableContextBuilder
-
addPlanVariables
- Specified by:
addPlanVariables
in interfaceVariableContextBuilder
-
addVariablesForEnvironment
- Specified by:
addVariablesForEnvironment
in interfaceVariableContextBuilder
-
addVariablesForVersion
- Specified by:
addVariablesForVersion
in interfaceVariableContextBuilder
-
addParentPlanVariablesIfRequired
public VariableContextBuilder addParentPlanVariablesIfRequired(@Nullable @Nullable ImmutablePlan plan) - Specified by:
addParentPlanVariablesIfRequired
in interfaceVariableContextBuilder
-
addManualAndResultVariablesFromContext
public VariableContextBuilder addManualAndResultVariablesFromContext(@NotNull @NotNull VariableContext variableContext) - Specified by:
addManualAndResultVariablesFromContext
in interfaceVariableContextBuilder
-
parentContext
Description copied from interface:VariableContextBuilder
Construct job's variable context by referencing plan's variable context- Specified by:
parentContext
in interfaceVariableContextBuilder
- Parameters:
variableContext
- parent context
-
buildContext
- Specified by:
buildContext
in interfaceVariableContextBuilder
-
buildMap
- Specified by:
buildMap
in interfaceVariableContextBuilder
-