public final class SubstitutedVariableDefinitionContextImpl extends Object implements VariableDefinitionContext
ORDERING| Constructor and Description |
|---|
SubstitutedVariableDefinitionContextImpl(VariableDefinitionContext original,
List<String> keysToReplace,
Map<String,VariableDefinitionContext> valuesToReplaceWith) |
| Modifier and Type | Method and Description |
|---|---|
String |
getKey()
Variable key as defined in UI
|
String |
getValue()
Variable value as set in UI
|
VariableType |
getVariableType()
VariableType shows the source of variable value as it was evaluated before build execution |
void |
setKey(String key) |
void |
setValue(String value) |
void |
setVariableType(VariableType variableType) |
String |
toString() |
public SubstitutedVariableDefinitionContextImpl(VariableDefinitionContext original, List<String> keysToReplace, Map<String,VariableDefinitionContext> valuesToReplaceWith)
@NotNull public String getKey()
VariableDefinitionContextgetKey in interface VariableDefinitionContextgetKey in interface VariableDefinitionIdentifierpublic String getValue()
VariableDefinitionContextgetValue in interface VariableDefinitionContextgetValue in interface VariableDefinitionIdentifierpublic void setKey(String key)
setKey in interface VariableDefinitionContextpublic void setValue(String value)
setValue in interface VariableDefinitionContextpublic VariableType getVariableType()
VariableDefinitionContextVariableType shows the source of variable value as it was evaluated before build executiongetVariableType in interface VariableDefinitionContextgetVariableType in interface VariableDefinitionIdentifierpublic void setVariableType(VariableType variableType)
setVariableType in interface VariableDefinitionContextCopyright © 2017 Atlassian Software Systems Pty Ltd. All rights reserved.