com.atlassian.bamboo.variable
Interface VariableDefinitionContext

All Superinterfaces:
java.io.Serializable
All Known Subinterfaces:
VariableDefinition
All Known Implementing Classes:
VariableDefinitionContextImpl, VariableDefinitionImpl

public interface VariableDefinitionContext
extends java.io.Serializable

Light version of 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 process


Method Summary
 java.lang.String getKey()
          Variable key as defined in UI
 java.lang.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(java.lang.String key)
           
 void setValue(java.lang.String value)
           
 void setVariableType(VariableType variableType)
           
 

Method Detail

getKey

@NotNull
java.lang.String getKey()
Variable key as defined in UI

Returns:
variable key

setKey

void setKey(java.lang.String key)

getValue

@Nullable
java.lang.String getValue()
Variable value as set in UI

Returns:

setValue

void setValue(java.lang.String value)

getVariableType

VariableType getVariableType()
VariableType shows the source of variable value as it was evaluated before build execution

Returns:

setVariableType

void setVariableType(VariableType variableType)


Copyright © 2011 Atlassian. All Rights Reserved.