com.atlassian.bamboo.variable
Interface VariableSubstitutionContext

All Superinterfaces:
java.io.Serializable, VariableDefinitionIdentifier
All Known Subinterfaces:
DeploymentVariableSubstitution, VariableBaselineItem, VariableContextSnapshot, VariableSubstitution
All Known Implementing Classes:
DeploymentVariableSubstitutionImpl, VariableBaselineItemImpl, VariableContextSnapshotImpl, VariableSubstitutionContextImpl, VariableSubstitutionImpl

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


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
 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

java.lang.String getKey()
Description copied from interface: VariableDefinitionIdentifier
Variable key as defined in UI

Specified by:
getKey in interface VariableDefinitionIdentifier
Returns:
variable identifier

setKey

void setKey(java.lang.String key)

getValue

java.lang.String getValue()
Description copied from interface: VariableDefinitionIdentifier
Variable value

Specified by:
getValue in interface VariableDefinitionIdentifier
Returns:
variable value

setValue

void setValue(java.lang.String value)

getVariableType

VariableType getVariableType()
Description copied from interface: VariableDefinitionIdentifier
VariableType shows the source of variable value as it was evaluated before build execution

Specified by:
getVariableType in interface VariableDefinitionIdentifier
Returns:
variable type

setVariableType

void setVariableType(VariableType variableType)


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