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