Package com.atlassian.bamboo.variable
Interface VariableContextBuilder
- All Known Implementing Classes:
VariableContextBuilderImpl
public interface VariableContextBuilder
-
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()
@NotNull VariableContextBuilder
parentContext
(@Nullable VariableContext variableContext) Construct job's variable context by referencing plan's variable context
-
Method Details
-
addGlobalVariables
VariableContextBuilder addGlobalVariables() -
add
-
add
-
addFromSubstitutionContext
VariableContextBuilder addFromSubstitutionContext(Iterable<? extends VariableSubstitutionContext> input) -
addFromVariableContext
-
addManualVariables
-
addProjectVariables
-
addPlanAndProjectVariables
-
addPlanVariables
-
addVariablesForEnvironment
-
addParentPlanVariablesIfRequired
-
addVariablesForVersion
-
buildContext
VariableContext buildContext() -
buildMap
Map<String,VariableDefinitionContext> buildMap() -
enforcePasswordMasking
VariableContextBuilder enforcePasswordMasking() -
excludePasswordVariables
VariableContextBuilder excludePasswordVariables() -
addManualAndResultVariablesFromContext
VariableContextBuilder addManualAndResultVariablesFromContext(@NotNull @NotNull VariableContext variableContext) -
parentContext
@NotNull @NotNull VariableContextBuilder parentContext(@Nullable @Nullable VariableContext variableContext) Construct job's variable context by referencing plan's variable context- Parameters:
variableContext
- parent context- Since:
- 9.4
-