Package com.atlassian.bamboo.build
Interface CapabilitySubstitutionBean
public interface CapabilitySubstitutionBean
-
Method Summary
Modifier and TypeMethodDescriptionString[]
substituteCapabilityVariables
(String[] commandLine, String buildPlanKey, boolean log) Takes in a string array to be parsed for variables.
-
Method Details
-
substituteCapabilityVariables
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
-