Interface CapabilitySubstitutionBean


  • public interface CapabilitySubstitutionBean
    • 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 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