Package com.atlassian.bamboo.variable
Interface VariableSubstitutionContext
- All Superinterfaces:
Serializable
,VariableDefinitionIdentifier
- All Known Subinterfaces:
VariableBaselineItem
,VariableContextSnapshot
,VariableSubstitution
- All Known Implementing Classes:
RestVariableSubstitutionContext
,VariableBaselineItemImpl
,VariableContextSnapshotImpl
,VariableSubstitutionContextImpl
,VariableSubstitutionImpl
@PublicApi
public interface VariableSubstitutionContext
extends VariableDefinitionIdentifier, Serializable
Light version of
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
-
Field Summary
Fields inherited from interface com.atlassian.bamboo.variable.VariableDefinitionIdentifier
ORDERING
-
Method Summary
Modifier and TypeMethodDescriptiongetKey()
Variable key as defined in UIgetValue()
Variable valueVariableType
shows the source of variable value as it was evaluated before build executionvoid
void
void
setVariableType
(VariableType variableType)
-
Method Details
-
getKey
String getKey()Description copied from interface:VariableDefinitionIdentifier
Variable key as defined in UI- Specified by:
getKey
in interfaceVariableDefinitionIdentifier
- Returns:
- variable identifier
-
setKey
-
getValue
String getValue()Description copied from interface:VariableDefinitionIdentifier
Variable value- Specified by:
getValue
in interfaceVariableDefinitionIdentifier
- Returns:
- variable value
-
setValue
-
getVariableType
VariableType getVariableType()Description copied from interface:VariableDefinitionIdentifier
VariableType
shows the source of variable value as it was evaluated before build execution- Specified by:
getVariableType
in interfaceVariableDefinitionIdentifier
- Returns:
- variable type
-
setVariableType
-