com.atlassian.bamboo.variable
Class VariableDefinitionImpl

java.lang.Object
  extended by com.atlassian.core.bean.EntityObject
      extended by com.atlassian.bamboo.core.BambooEntityObject
          extended by 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

Field Summary
 
Fields inherited from class com.atlassian.bamboo.core.BambooEntityObject
id
 
Constructor Summary
VariableDefinitionImpl()
           
VariableDefinitionImpl(java.lang.String key, java.lang.String value, Plan plan, VariableType variableType)
           
VariableDefinitionImpl(VariableDefinition other)
           
 
Method Summary
 java.lang.String getKey()
          Variable key as defined in UI
 Plan getPlan()
           
 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 setPlan(Plan plan)
           
 void setValue(java.lang.String value)
           
 void setVariableType(VariableType variableType)
           
 
Methods inherited from class com.atlassian.bamboo.core.BambooEntityObject
getId, setId
 
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
 
Methods inherited from interface com.atlassian.bamboo.core.BambooObject
setId
 
Methods inherited from interface com.atlassian.bamboo.core.BambooIdProvider
getId
 

Constructor Detail

VariableDefinitionImpl

public VariableDefinitionImpl()

VariableDefinitionImpl

public VariableDefinitionImpl(java.lang.String key,
                              java.lang.String value,
                              Plan plan,
                              VariableType variableType)

VariableDefinitionImpl

public VariableDefinitionImpl(VariableDefinition other)
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

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.