com.atlassian.bamboo.variable
Class VariableContextBuilderImpl

java.lang.Object
  extended by com.atlassian.bamboo.variable.VariableContextBuilderImpl
All Implemented Interfaces:
VariableContextBuilder

public class VariableContextBuilderImpl
extends java.lang.Object
implements VariableContextBuilder


Constructor Summary
VariableContextBuilderImpl(VariableDefinitionManager variableDefinitionManager)
           
 
Method Summary
 VariableContextBuilder add(java.lang.Iterable<VariableDefinition> input)
           
 VariableContextBuilder addFromSubstitutionContext(java.lang.Iterable<? extends VariableSubstitutionContext> input)
           
 VariableContextBuilder addFromVariableContext(VariableContext context)
           
 VariableContextBuilder addGlobalVariables()
           
 VariableContextBuilder addManualVariables(java.util.Map<java.lang.String,java.lang.String> input)
           
 VariableContextBuilder addParentPlanVariablesIfRequired(ImmutablePlan plan)
           
 VariableContextBuilder addPlanVariables(ImmutablePlan plan)
           
 VariableContext buildContext()
           
 java.util.Map<java.lang.String,VariableDefinitionContext> buildMap()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

VariableContextBuilderImpl

public VariableContextBuilderImpl(VariableDefinitionManager variableDefinitionManager)
Method Detail

addManualVariables

public VariableContextBuilder addManualVariables(@Nullable
                                                 java.util.Map<java.lang.String,java.lang.String> input)
Specified by:
addManualVariables in interface VariableContextBuilder

add

public VariableContextBuilder add(java.lang.Iterable<VariableDefinition> input)
Specified by:
add in interface VariableContextBuilder

addFromSubstitutionContext

public VariableContextBuilder addFromSubstitutionContext(java.lang.Iterable<? extends VariableSubstitutionContext> input)
Specified by:
addFromSubstitutionContext in interface VariableContextBuilder

addFromVariableContext

public VariableContextBuilder addFromVariableContext(@Nullable
                                                     VariableContext context)
Specified by:
addFromVariableContext in interface VariableContextBuilder

addGlobalVariables

public VariableContextBuilder addGlobalVariables()
Specified by:
addGlobalVariables in interface VariableContextBuilder

addPlanVariables

public VariableContextBuilder addPlanVariables(@Nullable
                                               ImmutablePlan plan)
Specified by:
addPlanVariables in interface VariableContextBuilder

addParentPlanVariablesIfRequired

public VariableContextBuilder addParentPlanVariablesIfRequired(@Nullable
                                                               ImmutablePlan plan)
Specified by:
addParentPlanVariablesIfRequired in interface VariableContextBuilder

buildContext

public VariableContext buildContext()
Specified by:
buildContext in interface VariableContextBuilder

buildMap

public java.util.Map<java.lang.String,VariableDefinitionContext> buildMap()
Specified by:
buildMap in interface VariableContextBuilder


Copyright © 2012 Atlassian. All Rights Reserved.