com.atlassian.bamboo.build
Class CapabilitySubstitutionBeanImpl

java.lang.Object
  extended by com.atlassian.bamboo.build.AbstractSubstitutionBean
      extended by com.atlassian.bamboo.build.CapabilitySubstitutionBeanImpl
All Implemented Interfaces:
CapabilitySubstitutionBean

public class CapabilitySubstitutionBeanImpl
extends AbstractSubstitutionBean
implements CapabilitySubstitutionBean


Constructor Summary
CapabilitySubstitutionBeanImpl()
           
 
Method Summary
 void setBuildLoggerManager(BuildLoggerManager buildLoggerManager)
           
 void setCapabilityContext(CapabilityContext capabilityContext)
           
 java.lang.String[] substituteCapabilityVariables(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

CapabilitySubstitutionBeanImpl

public CapabilitySubstitutionBeanImpl()
Method Detail

substituteCapabilityVariables

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

Specified by:
substituteCapabilityVariables in interface CapabilitySubstitutionBean
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

setCapabilityContext

public void setCapabilityContext(CapabilityContext capabilityContext)

setBuildLoggerManager

public void setBuildLoggerManager(BuildLoggerManager buildLoggerManager)


Copyright © 2008 Atlassian Pty Ltd. All Rights Reserved.