com.atlassian.bamboo.variable
Class CustomVariableContextImpl
java.lang.Object
com.atlassian.bamboo.variable.CustomVariableContextImpl
- All Implemented Interfaces:
- CustomVariableContext
public class CustomVariableContextImpl
- extends java.lang.Object
- implements CustomVariableContext
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CustomVariableContextImpl
public CustomVariableContextImpl()
setPlan
public void setPlan(@NotNull
Plan plan,
@Nullable
java.util.Map<java.lang.String,VariableDefinitionContext> variablesContextMap)
- Specified by:
setPlan
in interface CustomVariableContext
setVariables
public void setVariables(java.util.Map<java.lang.String,VariableDefinitionContext> variablesContextMap)
- Specified by:
setVariables
in interface CustomVariableContext
setBuildContext
public void setBuildContext(BuildContext buildContext)
- Specified by:
setBuildContext
in interface CustomVariableContext
clearContext
public void clearContext()
- Specified by:
clearContext
in interface CustomVariableContext
getSubstitutedVariables
@NotNull
public java.util.Map<java.lang.String,VariableSubstitutionContext> getSubstitutedVariables()
- Specified by:
getSubstitutedVariables
in interface CustomVariableContext
addCustomData
public void addCustomData(java.lang.String key,
java.lang.String value)
- Specified by:
addCustomData
in interface CustomVariableContext
substituteString
public java.lang.String substituteString(java.lang.String value)
- Specified by:
substituteString
in interface CustomVariableContext
substituteString
public java.lang.String substituteString(java.lang.String value,
@Nullable
BuildContext buildContext,
BuildLogger buildLogger)
- Specified by:
substituteString
in interface CustomVariableContext
removeAllVariables
@NotNull
public java.lang.String removeAllVariables(@NotNull
java.lang.String value)
- Given a string array, remove all variable patterns.
- Specified by:
removeAllVariables
in interface CustomVariableContext
- Parameters:
value
- string values to be analyzed
- Returns:
- value with variables removed
getVariables
@NotNull
public java.util.Map<java.lang.String,java.lang.String> getVariables(BuildContext buildContext)
- Specified by:
getVariables
in interface CustomVariableContext
setBuildLoggerManager
public void setBuildLoggerManager(BuildLoggerManager buildLoggerManager)
setCapabilityContext
public void setCapabilityContext(CapabilityContext capabilityContext)
Copyright © 2011 Atlassian. All Rights Reserved.