@PublicApi public interface VariableDefinitionContext extends VariableDefinitionIdentifier, Serializable
VariableDefinition
class, that could be passed to the agent inside BuildContext
The purpose of this interface is to pass currently evaluated variable context.
Agent code use this during variable substitution processORDERING
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) |
@NotNull String getKey()
getKey
in interface VariableDefinitionIdentifier
void setKey(String key)
@NotNull String getValue()
getValue
in interface VariableDefinitionIdentifier
void setValue(@NotNull String value)
VariableType getVariableType()
VariableType
shows the source of variable value as it was evaluated before build executiongetVariableType
in interface VariableDefinitionIdentifier
void setVariableType(VariableType variableType)
Copyright © 2020 Atlassian Software Systems Pty Ltd. All rights reserved.