com.atlassian.bamboo.variable
Interface VariableDefinitionContext

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

public interface VariableDefinitionContext
extends VariableDefinitionIdentifier, 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


Field Summary
 
Fields inherited from interface com.atlassian.bamboo.variable.VariableDefinitionIdentifier
ORDERING
 
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

Specified by:
getKey in interface VariableDefinitionIdentifier
Returns:
variable key

setKey

void setKey(java.lang.String key)

getValue

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

Specified by:
getValue in interface VariableDefinitionIdentifier
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

Specified by:
getVariableType in interface VariableDefinitionIdentifier
Returns:

setVariableType

void setVariableType(VariableType variableType)


Copyright © 2013 Atlassian Software Systems Pty Ltd. All Rights Reserved.