com.atlassian.bamboo.variable
Class VariableSubstitutionContextImpl

java.lang.Object
  extended by com.atlassian.bamboo.variable.VariableSubstitutionContextImpl
All Implemented Interfaces:
VariableDefinitionIdentifier, VariableSubstitutionContext, java.io.Serializable

public class VariableSubstitutionContextImpl
extends java.lang.Object
implements VariableSubstitutionContext

See Also:
Serialized Form

Field Summary
 
Fields inherited from interface com.atlassian.bamboo.variable.VariableDefinitionIdentifier
ORDERING
 
Constructor Summary
VariableSubstitutionContextImpl(java.lang.String key, java.lang.String value, VariableType variableType)
           
VariableSubstitutionContextImpl(VariableSubstitutionContext variableSubstitutionContext)
           
 
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)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

VariableSubstitutionContextImpl

public VariableSubstitutionContextImpl(java.lang.String key,
                                       java.lang.String value,
                                       VariableType variableType)

VariableSubstitutionContextImpl

public VariableSubstitutionContextImpl(VariableSubstitutionContext variableSubstitutionContext)
Method Detail

getKey

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

Specified by:
getKey in interface VariableDefinitionIdentifier
Specified by:
getKey in interface VariableSubstitutionContext
Returns:
variable identifier

setKey

public void setKey(java.lang.String key)
Specified by:
setKey in interface VariableSubstitutionContext

getValue

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

Specified by:
getValue in interface VariableDefinitionIdentifier
Specified by:
getValue in interface VariableSubstitutionContext
Returns:
variable value

setValue

public void setValue(java.lang.String value)
Specified by:
setValue in interface VariableSubstitutionContext

getVariableType

public 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
Specified by:
getVariableType in interface VariableSubstitutionContext
Returns:
variable type

setVariableType

public void setVariableType(VariableType variableType)
Specified by:
setVariableType in interface VariableSubstitutionContext


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