@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 |
|---|---|
@NotNull String |
getKey()
Variable key as defined in UI
|
@NotNull 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(@NotNull String value) |
void |
setVariableType(VariableType variableType) |
@NotNull @NotNull String getKey()
getKey in interface VariableDefinitionIdentifiervoid setKey(String key)
@NotNull @NotNull String getValue()
getValue in interface VariableDefinitionIdentifiervoid setValue(@NotNull
@NotNull String value)
VariableType getVariableType()
VariableType 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.