com.atlassian.bamboo.variable
Class VariableDefinitionContextImpl

java.lang.Object
  extended by com.atlassian.bamboo.variable.VariableDefinitionContextImpl
All Implemented Interfaces:
VariableDefinitionContext, java.io.Serializable

public class VariableDefinitionContextImpl
extends java.lang.Object
implements VariableDefinitionContext

See Also:
Serialized Form

Constructor Summary
VariableDefinitionContextImpl(java.lang.String key, java.lang.String value, VariableType variableType)
           
VariableDefinitionContextImpl(VariableDefinitionContext variableDefinitionContext)
           
 
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)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

VariableDefinitionContextImpl

public VariableDefinitionContextImpl(VariableDefinitionContext variableDefinitionContext)

VariableDefinitionContextImpl

public VariableDefinitionContextImpl(java.lang.String key,
                                     java.lang.String value,
                                     VariableType variableType)
Method Detail

getKey

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

Specified by:
getKey in interface VariableDefinitionContext
Returns:
variable key

getValue

public java.lang.String getValue()
Description copied from interface: VariableDefinitionContext
Variable value as set in UI

Specified by:
getValue in interface VariableDefinitionContext
Returns:

setKey

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

setValue

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

getVariableType

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

Specified by:
getVariableType in interface VariableDefinitionContext
Returns:

setVariableType

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


Copyright © 2012 Atlassian. All Rights Reserved.