com.atlassian.bamboo.build
Class GlobalSubstitutionBeanImpl

java.lang.Object
  extended by com.atlassian.bamboo.build.AbstractSubstitutionBean
      extended by com.atlassian.bamboo.build.GlobalSubstitutionBeanImpl
All Implemented Interfaces:
GlobalSubstitutionBean

public class GlobalSubstitutionBeanImpl
extends AbstractSubstitutionBean
implements GlobalSubstitutionBean

Responsible for substituting in GlobalVariables


Constructor Summary
GlobalSubstitutionBeanImpl()
           
 
Method Summary
 AdministrationConfiguration getAdministrationConfiguration()
           
 void setAdministrationConfiguration(AdministrationConfiguration administrationConfiguration)
           
 void setBuildExecutionManager(BuildExecutionManager buildExecutionManager)
           
 java.lang.String[] substituteGlobalVariables(java.lang.String[] commandLine, java.lang.String buildPlanKey, boolean log)
          Takes in a string array to be parsed for variables.
 
Methods inherited from class com.atlassian.bamboo.build.AbstractSubstitutionBean
substituteVariables
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GlobalSubstitutionBeanImpl

public GlobalSubstitutionBeanImpl()
Method Detail

substituteGlobalVariables

public java.lang.String[] substituteGlobalVariables(java.lang.String[] commandLine,
                                                    java.lang.String buildPlanKey,
                                                    boolean log)
Description copied from interface: GlobalSubstitutionBean
Takes in a string array to be parsed for variables. Will substitute with global variables from the AdministrationConfiguration

Specified by:
substituteGlobalVariables in interface GlobalSubstitutionBean
Parameters:
commandLine - String Array to be substituted. Does not necessarily have to contain any variables. Can not be null but can be empty.
Returns:
String Array with matched variables replaced

getAdministrationConfiguration

public AdministrationConfiguration getAdministrationConfiguration()

setAdministrationConfiguration

public void setAdministrationConfiguration(AdministrationConfiguration administrationConfiguration)

setBuildExecutionManager

public void setBuildExecutionManager(BuildExecutionManager buildExecutionManager)


Copyright © 2008 Atlassian Pty Ltd. All Rights Reserved.