com.atlassian.bamboo.build
Interface CapabilitySubstitutionBean


public interface CapabilitySubstitutionBean


Method Summary
 java.lang.String[] substituteCapabilityVariables(java.lang.String[] commandLine, java.lang.String buildPlanKey, boolean log)
          Takes in a string array to be parsed for variables.
 

Method Detail

substituteCapabilityVariables

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

Parameters:
commandLine - String Array to be substituted. Does not necessarily have to contain any variables. Can not be null but can be empty.
buildPlanKey - The plan key for the build
log - Flag for enabling/disabling logging of variable substitution.
Returns:
String Array with matched variables replaced


Copyright © 2010 Atlassian. All Rights Reserved.