public class VariableContextBuilderImpl extends Object implements VariableContextBuilder
Constructor and Description |
---|
VariableContextBuilderImpl(VariableDefinitionManager variableDefinitionManager) |
public VariableContextBuilderImpl(VariableDefinitionManager variableDefinitionManager)
public VariableContextBuilder enforcePasswordMasking()
enforcePasswordMasking
in interface VariableContextBuilder
public VariableContextBuilder excludePasswordVariables()
excludePasswordVariables
in interface VariableContextBuilder
public VariableContextBuilder addManualVariables(@Nullable @Nullable Map<String,String> input)
addManualVariables
in interface VariableContextBuilder
public VariableContextBuilder add(Iterable<VariableDefinition> input)
add
in interface VariableContextBuilder
public VariableContextBuilder add(Map<String,VariableDefinitionContext> input)
add
in interface VariableContextBuilder
public VariableContextBuilder addFromSubstitutionContext(Iterable<? extends VariableSubstitutionContext> input)
addFromSubstitutionContext
in interface VariableContextBuilder
public VariableContextBuilder addFromVariableContext(@Nullable @Nullable VariableContext context)
addFromVariableContext
in interface VariableContextBuilder
public VariableContextBuilder addGlobalVariables()
addGlobalVariables
in interface VariableContextBuilder
public VariableContextBuilder addProjectVariables(long projectId)
addProjectVariables
in interface VariableContextBuilder
public VariableContextBuilder addPlanAndProjectVariables(@Nullable @Nullable ImmutablePlan plan)
addPlanAndProjectVariables
in interface VariableContextBuilder
public VariableContextBuilder addPlanVariables(@Nullable @Nullable ImmutablePlan plan)
addPlanVariables
in interface VariableContextBuilder
public VariableContextBuilder addVariablesForEnvironment(@Nullable @Nullable Long environmentId)
addVariablesForEnvironment
in interface VariableContextBuilder
public VariableContextBuilder addVariablesForVersion(@Nullable @Nullable Long deploymentVersionId)
addVariablesForVersion
in interface VariableContextBuilder
public VariableContextBuilder addParentPlanVariablesIfRequired(@Nullable @Nullable ImmutablePlan plan)
addParentPlanVariablesIfRequired
in interface VariableContextBuilder
public VariableContextBuilder addManualAndResultVariablesFromContext(@NotNull @NotNull VariableContext variableContext)
addManualAndResultVariablesFromContext
in interface VariableContextBuilder
public VariableContext buildContext()
buildContext
in interface VariableContextBuilder
public Map<String,VariableDefinitionContext> buildMap()
buildMap
in interface VariableContextBuilder
Copyright © 2022 Atlassian Software Systems Pty Ltd. All rights reserved.