com.atlassian.bamboo.build
Class VariableBuilderBeanImpl

java.lang.Object
  extended by com.atlassian.bamboo.build.VariableBuilderBeanImpl
All Implemented Interfaces:
VariableBuilderBean

public class VariableBuilderBeanImpl
extends java.lang.Object
implements VariableBuilderBean

Implementation builds a Map of Bamboo variables given a BuildContext that contains Gobal, capabiltiy, custom build data, build number and build key values as variables.


Constructor Summary
VariableBuilderBeanImpl()
           
 
Method Summary
 java.util.Map<java.lang.String,java.lang.String> getVariables(BuildContext buildContext)
          Returns a map of Bamboo variables given the BuildContext Note that keys are not prefixed with "bamboo."
 java.util.Map<java.lang.String,java.lang.String> getVariables(BuildResults buildResults)
          Returns a map of Bamboo variables given the BuildResults
 void setAdministrationConfigurationManager(AdministrationConfigurationManager administrationConfigurationManager)
           
 void setCapabilityContext(CapabilityContext capabilityContext)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

VariableBuilderBeanImpl

public VariableBuilderBeanImpl()
Method Detail

setAdministrationConfigurationManager

public void setAdministrationConfigurationManager(AdministrationConfigurationManager administrationConfigurationManager)

setCapabilityContext

public void setCapabilityContext(CapabilityContext capabilityContext)

getVariables

@NotNull
public java.util.Map<java.lang.String,java.lang.String> getVariables(@Nullable
                                                                             BuildContext buildContext)
Description copied from interface: VariableBuilderBean
Returns a map of Bamboo variables given the BuildContext Note that keys are not prefixed with "bamboo."

Specified by:
getVariables in interface VariableBuilderBean
Returns:
map

getVariables

@NotNull
public java.util.Map<java.lang.String,java.lang.String> getVariables(BuildResults buildResults)
Description copied from interface: VariableBuilderBean
Returns a map of Bamboo variables given the BuildResults

Specified by:
getVariables in interface VariableBuilderBean
Returns:
map


Copyright © 2009 Atlassian Pty Ltd. All Rights Reserved.