Package com.atlassian.bamboo.build
Interface CapabilitySubstitutionBean
-
public interface CapabilitySubstitutionBean
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description String[]
substituteCapabilityVariables(String[] commandLine, String buildPlanKey, boolean log)
Takes in a string array to be parsed for variables.
-
-
-
Method Detail
-
substituteCapabilityVariables
String[] substituteCapabilityVariables(String[] commandLine, String buildPlanKey, boolean log)
Takes in a string array to be parsed for variables. Will substitute with global capabilities from theCapabilityContext
- 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 buildlog
- Flag for enabling/disabling logging of variable substitution.- Returns:
- String Array with matched variables replaced
-
-