public final class VariableDefinitionContextImpl extends Object implements VariableDefinitionContext
Modifier and Type | Field and Description |
---|---|
static com.google.common.base.Function<VariableDefinitionContext,VariableDefinitionContext> |
CLONE |
ORDERING
Constructor and Description |
---|
VariableDefinitionContextImpl(String key,
String value,
VariableType variableType) |
VariableDefinitionContextImpl(VariableDefinitionContext variableDefinitionContext) |
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 static final com.google.common.base.Function<VariableDefinitionContext,VariableDefinitionContext> CLONE
public VariableDefinitionContextImpl(VariableDefinitionContext variableDefinitionContext)
public VariableDefinitionContextImpl(String key, String value, VariableType variableType)
@NotNull public String getKey()
VariableDefinitionContext
getKey
in interface VariableDefinitionContext
getKey
in interface VariableDefinitionIdentifier
public String getValue()
VariableDefinitionContext
getValue
in interface VariableDefinitionContext
getValue
in interface VariableDefinitionIdentifier
public void setKey(String key)
setKey
in interface VariableDefinitionContext
public void setValue(String value)
setValue
in interface VariableDefinitionContext
public VariableType getVariableType()
VariableDefinitionContext
VariableType
shows the source of variable value as it was evaluated before build executiongetVariableType
in interface VariableDefinitionContext
getVariableType
in interface VariableDefinitionIdentifier
public void setVariableType(VariableType variableType)
setVariableType
in interface VariableDefinitionContext
Copyright © 2017 Atlassian Software Systems Pty Ltd. All rights reserved.