|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.atlassian.bamboo.build.VariableSubstitutionBeanImpl
CustomVariableContext
@Deprecated public class VariableSubstitutionBeanImpl
This bean is responsible for substituting BuildDefinition
values with variables.
Constructor Summary | |
---|---|
VariableSubstitutionBeanImpl(CustomVariableContext customVariableContext)
Deprecated. |
Method Summary | |
---|---|
java.util.Map<java.lang.String,java.lang.String> |
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. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public VariableSubstitutionBeanImpl(CustomVariableContext customVariableContext)
Method Detail |
---|
public java.lang.String substituteBambooVariables(@Nullable java.lang.String stringWithValuesToSubstitute, @Nullable BuildContext buildContext, @Nullable BuildLogger buildLogger)
VariableSubstitutionBean
substituteBambooVariables
in interface VariableSubstitutionBean
stringWithValuesToSubstitute
- - to substitutebuildContext
- - associated with the command linebuildLogger
- - for logging messages to get logged to.
@Nullable public java.lang.String substituteBambooVariables(@Nullable java.lang.String stringWithValuesToSubstitute)
VariableSubstitutionBean
substituteBambooVariables
in interface VariableSubstitutionBean
stringWithValuesToSubstitute
- - to substitute
public java.lang.String[] substituteBambooVariables(java.lang.String[] stringWithValuesToSubstitute, @Nullable BuildContext buildContext, @Nullable BuildLogger buildLogger)
VariableSubstitutionBean
substituteBambooVariables
in interface VariableSubstitutionBean
stringWithValuesToSubstitute
- - to substitute
@NotNull public java.util.Map<java.lang.String,java.lang.String> getVariables(@Nullable BuildContext buildContext)
getVariables
in interface VariableSubstitutionBean
public java.lang.String removeAllVariables(@NotNull java.lang.String unparsedString)
VariableSubstitutionBean
removeAllVariables
in interface VariableSubstitutionBean
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |