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:
-
Field Summary
Fields inherited from interface com.atlassian.bamboo.variable.VariableDefinitionIdentifier
ORDERING
-
Constructor Summary
ConstructorDescriptionSubstitutedVariableDefinitionContextImpl
(VariableDefinitionContext original, List<String> keysToReplace, Map<String, VariableDefinitionContext> valuesToReplaceWith) -
Method Summary
Modifier and TypeMethodDescription@NotNull String
getKey()
Variable key as defined in UIgetValue()
Variable value as set in UIVariableType
shows the source of variable value as it was evaluated before build executionvoid
void
void
setVariableType
(VariableType variableType) toString()
-
Constructor Details
-
SubstitutedVariableDefinitionContextImpl
public SubstitutedVariableDefinitionContextImpl(VariableDefinitionContext original, List<String> keysToReplace, Map<String, VariableDefinitionContext> valuesToReplaceWith)
-
-
Method Details
-
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
Description copied from interface:VariableDefinitionContext
Variable value as set in UI- Specified by:
getValue
in interfaceVariableDefinitionContext
- Specified by:
getValue
in interfaceVariableDefinitionIdentifier
-
setKey
- Specified by:
setKey
in interfaceVariableDefinitionContext
-
setValue
- Specified by:
setValue
in interfaceVariableDefinitionContext
-
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
- Specified by:
setVariableType
in interfaceVariableDefinitionContext
-
toString
-