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 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 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 ImmutablePlan plan)
addPlanAndProjectVariables
in interface VariableContextBuilder
public VariableContextBuilder addPlanVariables(@Nullable ImmutablePlan plan)
addPlanVariables
in interface VariableContextBuilder
public VariableContextBuilder addVariablesForEnvironment(@Nullable Long environmentId)
addVariablesForEnvironment
in interface VariableContextBuilder
public VariableContextBuilder addVariablesForVersion(@Nullable Long deploymentVersionId)
addVariablesForVersion
in interface VariableContextBuilder
public VariableContextBuilder addParentPlanVariablesIfRequired(@Nullable ImmutablePlan plan)
addParentPlanVariablesIfRequired
in interface VariableContextBuilder
public VariableContextBuilder addManualAndResultVariablesFromContext(@NotNull VariableContext variableContext)
addManualAndResultVariablesFromContext
in interface VariableContextBuilder
public VariableContext buildContext()
buildContext
in interface VariableContextBuilder
public Map<String,VariableDefinitionContext> buildMap()
buildMap
in interface VariableContextBuilder
Copyright © 2020 Atlassian Software Systems Pty Ltd. All rights reserved.