@PublicApi public interface VariableSubstitutionContext extends VariableDefinitionIdentifier, Serializable
VariableSubstitution
class, that could be passed to the agent inside BuildContext
The
purpose of this interface is to log usage of variables.
Agent code use this during variable substitution process
ORDERING
Modifier and Type | Method and Description |
---|---|
String |
getKey()
Variable key as defined in UI
|
String |
getValue()
Variable value
|
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 getKey()
VariableDefinitionIdentifier
getKey
in interface VariableDefinitionIdentifier
void setKey(String key)
String getValue()
VariableDefinitionIdentifier
getValue
in interface VariableDefinitionIdentifier
void setValue(String value)
VariableType getVariableType()
VariableDefinitionIdentifier
VariableType
shows the source of variable value as it was evaluated before build executiongetVariableType
in interface VariableDefinitionIdentifier
void setVariableType(VariableType variableType)
Copyright © 2017 Atlassian Software Systems Pty Ltd. All rights reserved.