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 valueVariableTypeshows the source of variable value as it was evaluated before build executionvoidvoidvoidsetVariableType(VariableType variableType)
-
Method Details
-
getKey
String getKey()Description copied from interface:VariableDefinitionIdentifierVariable key as defined in UI- Specified by:
getKeyin interfaceVariableDefinitionIdentifier- Returns:
- variable identifier
-
setKey
-
getValue
String getValue()Description copied from interface:VariableDefinitionIdentifierVariable value- Specified by:
getValuein interfaceVariableDefinitionIdentifier- Returns:
- variable value
-
setValue
-
getVariableType
VariableType getVariableType()Description copied from interface:VariableDefinitionIdentifierVariableTypeshows the source of variable value as it was evaluated before build execution- Specified by:
getVariableTypein interfaceVariableDefinitionIdentifier- Returns:
- variable type
-
setVariableType
-