Package com.atlassian.bamboo.variable
Class SubstitutedVariableDefinitionContextImpl
- java.lang.Object
-
- com.atlassian.bamboo.variable.SubstitutedVariableDefinitionContextImpl
-
- All Implemented Interfaces:
VariableDefinitionContext
,VariableDefinitionIdentifier
,Serializable
public final class SubstitutedVariableDefinitionContextImpl extends Object implements VariableDefinitionContext
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from interface com.atlassian.bamboo.variable.VariableDefinitionIdentifier
ORDERING
-
-
Constructor Summary
Constructors Constructor Description SubstitutedVariableDefinitionContextImpl(VariableDefinitionContext original, List<String> keysToReplace, Map<String,VariableDefinitionContext> valuesToReplaceWith)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description @NotNull String
getKey()
Variable key as defined in UIString
getValue()
Variable value as set in UIVariableType
getVariableType()
VariableType
shows the source of variable value as it was evaluated before build executionvoid
setKey(String key)
void
setValue(String value)
void
setVariableType(VariableType variableType)
String
toString()
-
-
-
Constructor Detail
-
SubstitutedVariableDefinitionContextImpl
public SubstitutedVariableDefinitionContextImpl(VariableDefinitionContext original, List<String> keysToReplace, Map<String,VariableDefinitionContext> valuesToReplaceWith)
-
-
Method Detail
-
getKey
@NotNull public @NotNull String getKey()
Description copied from interface:VariableDefinitionContext
Variable key as defined in UI- Specified by:
getKey
in interfaceVariableDefinitionContext
- Specified by:
getKey
in interfaceVariableDefinitionIdentifier
- Returns:
- variable key
-
getValue
public String getValue()
Description copied from interface:VariableDefinitionContext
Variable value as set in UI- Specified by:
getValue
in interfaceVariableDefinitionContext
- Specified by:
getValue
in interfaceVariableDefinitionIdentifier
-
setKey
public void setKey(String key)
- Specified by:
setKey
in interfaceVariableDefinitionContext
-
setValue
public void setValue(String value)
- Specified by:
setValue
in interfaceVariableDefinitionContext
-
getVariableType
public VariableType getVariableType()
Description copied from interface:VariableDefinitionContext
VariableType
shows the source of variable value as it was evaluated before build execution- Specified by:
getVariableType
in interfaceVariableDefinitionContext
- Specified by:
getVariableType
in interfaceVariableDefinitionIdentifier
- Returns:
-
setVariableType
public void setVariableType(VariableType variableType)
- Specified by:
setVariableType
in interfaceVariableDefinitionContext
-
-