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 ofVariableSubstitutionclass, that could be passed to the agent insideBuildContextThe 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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StringgetKey()Variable key as defined in UIStringgetValue()Variable valueVariableTypegetVariableType()VariableTypeshows the source of variable value as it was evaluated before build executionvoidsetKey(String key)voidsetValue(String value)voidsetVariableType(VariableType variableType)
-
-
-
Method Detail
-
getKey
String getKey()
Description copied from interface:VariableDefinitionIdentifierVariable key as defined in UI- Specified by:
getKeyin interfaceVariableDefinitionIdentifier- Returns:
- variable identifier
-
setKey
void setKey(String key)
-
getValue
String getValue()
Description copied from interface:VariableDefinitionIdentifierVariable value- Specified by:
getValuein interfaceVariableDefinitionIdentifier- Returns:
- variable value
-
setValue
void setValue(String value)
-
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
void setVariableType(VariableType variableType)
-
-