com.atlassian.bamboo.build
Interface VariableSubstitutionBean


Deprecated. since 3.1 use CustomVariableContext

@Deprecated
public interface VariableSubstitutionBean


Method Summary
 java.util.Map getVariables(BuildContext buildContext)
          Deprecated.  
 java.lang.String removeAllVariables(java.lang.String unparsedString)
          Deprecated. Remove all variables from unparsedString
 java.lang.String substituteBambooVariables(java.lang.String stringWithValuesToSubstitute)
          Deprecated. Takes a String to be parsed for variable references and substitutes with the variable values then returns the substituted string.
 java.lang.String[] substituteBambooVariables(java.lang.String[] stringWithValuesToSubstitute, BuildContext buildContext, BuildLogger buildLogger)
          Deprecated. Takes an array of Strings to be parsed for variable references and substitutes with the variable values then returns the substituted string If BuildContext is null only global variables, system variables and capabilities will be substituted.
 java.lang.String substituteBambooVariables(java.lang.String stringWithValuesToSubstitute, BuildContext buildContext, BuildLogger buildLogger)
          Deprecated. Takes a String to be parsed for variable references and substitutes with the variable values then returns the substituted string.
 

Method Detail

substituteBambooVariables

@Nullable
java.lang.String substituteBambooVariables(@Nullable
                                                    java.lang.String stringWithValuesToSubstitute)
Deprecated. 
Takes a String to be parsed for variable references and substitutes with the variable values then returns the substituted string. Only global variables, system variables and capabilities will be substituted.

Parameters:
stringWithValuesToSubstitute - - to substitute
Returns:
string

substituteBambooVariables

java.lang.String substituteBambooVariables(@Nullable
                                           java.lang.String stringWithValuesToSubstitute,
                                           @Nullable
                                           BuildContext buildContext,
                                           @Nullable
                                           BuildLogger buildLogger)
Deprecated. 
Takes a String to be parsed for variable references and substitutes with the variable values then returns the substituted string. If BuildContext is null only global variables, system variables and capabilities will be substituted.

Parameters:
stringWithValuesToSubstitute - - to substitute
buildContext - - associated with the command line
buildLogger - - for logging messages to get logged to.
Returns:
string

substituteBambooVariables

java.lang.String[] substituteBambooVariables(java.lang.String[] stringWithValuesToSubstitute,
                                             @Nullable
                                             BuildContext buildContext,
                                             @Nullable
                                             BuildLogger buildLogger)
Deprecated. 
Takes an array of Strings to be parsed for variable references and substitutes with the variable values then returns the substituted string If BuildContext is null only global variables, system variables and capabilities will be substituted.

Parameters:
stringWithValuesToSubstitute - - to substitute
buildContext -
buildLogger -
Returns:
string

getVariables

@NotNull
java.util.Map getVariables(@Nullable
                                   BuildContext buildContext)
Deprecated. 

removeAllVariables

java.lang.String removeAllVariables(@NotNull
                                    java.lang.String unparsedString)
Deprecated. 
Remove all variables from unparsedString

Parameters:
unparsedString -
Returns:


Copyright © 2011 Atlassian. All Rights Reserved.