com.atlassian.bamboo.variable
Interface VariableSubstitutionContext

All Superinterfaces:
java.io.Serializable
All Known Subinterfaces:
VariableContextSnapshot, VariableSubstitution
All Known Implementing Classes:
VariableContextSnapshotImpl, VariableSubstitutionContextImpl, VariableSubstitutionImpl

public interface VariableSubstitutionContext
extends java.io.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


Method Summary
 java.lang.String getKey()
           
 java.lang.String getValue()
           
 VariableType getVariableType()
           
 void setKey(java.lang.String key)
           
 void setValue(java.lang.String value)
           
 void setVariableType(VariableType variableType)
           
 

Method Detail

getKey

java.lang.String getKey()
Returns:
variable identifier

setKey

void setKey(java.lang.String key)

getValue

java.lang.String getValue()
Returns:
variable value

setValue

void setValue(java.lang.String value)

getVariableType

VariableType getVariableType()
Returns:
variable type

setVariableType

void setVariableType(VariableType variableType)


Copyright © 2012 Atlassian. All Rights Reserved.