@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()
VariableDefinitionIdentifiergetKey in interface VariableDefinitionIdentifiervoid setKey(String key)
String getValue()
VariableDefinitionIdentifiergetValue in interface VariableDefinitionIdentifiervoid setValue(String value)
VariableType getVariableType()
VariableDefinitionIdentifierVariableType shows the source of variable value as it was evaluated before build executiongetVariableType in interface VariableDefinitionIdentifiervoid setVariableType(VariableType variableType)
Copyright © 2024 Atlassian Software Systems Pty Ltd. All rights reserved.