com.atlassian.bamboo.variable
Class VariableDefinitionImpl
java.lang.Object
com.atlassian.core.bean.EntityObject
com.atlassian.bamboo.core.BambooEntityObject
com.atlassian.bamboo.variable.VariableDefinitionImpl
- All Implemented Interfaces:
- BambooIdProvider, BambooObject, VariableDefinition, VariableDefinitionContext, java.io.Serializable, java.lang.Cloneable
public class VariableDefinitionImpl
- extends BambooEntityObject
- implements VariableDefinition
- See Also:
- Serialized Form
Methods inherited from class com.atlassian.core.bean.EntityObject |
clone, equals, getCreationDate, getCurrentDate, getLastModificationDate, hashCode, setClock, setCreationDate, setLastModificationDate |
Methods inherited from class java.lang.Object |
finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
VariableDefinitionImpl
public VariableDefinitionImpl()
VariableDefinitionImpl
public VariableDefinitionImpl(java.lang.String key,
java.lang.String value,
Plan plan,
VariableType variableType)
VariableDefinitionImpl
public VariableDefinitionImpl(VariableDefinition other)
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
setKey
public void setKey(java.lang.String key)
- Specified by:
setKey
in interface VariableDefinitionContext
getValue
public java.lang.String getValue()
- Description copied from interface:
VariableDefinitionContext
- Variable value as set in UI
- Specified by:
getValue
in interface VariableDefinitionContext
- Returns:
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
getPlan
public Plan getPlan()
- Specified by:
getPlan
in interface VariableDefinition
setPlan
public void setPlan(Plan plan)
- Specified by:
setPlan
in interface VariableDefinition
Copyright © 2012 Atlassian. All Rights Reserved.