com.atlassian.bamboo.variable
Class StageVariableContextImpl

java.lang.Object
  extended by com.atlassian.core.bean.EntityObject
      extended by com.atlassian.bamboo.core.BambooEntityObject
          extended by com.atlassian.bamboo.variable.StageVariableContextImpl
All Implemented Interfaces:
BambooIdProvider, BambooObject, StageVariableContext, VariableDefinitionContext, VariableDefinitionIdentifier, Serializable, Cloneable

public class StageVariableContextImpl
extends BambooEntityObject
implements StageVariableContext

See Also:
Serialized Form

Field Summary
 
Fields inherited from class com.atlassian.bamboo.core.BambooEntityObject
id
 
Fields inherited from interface com.atlassian.bamboo.variable.VariableDefinitionIdentifier
ORDERING
 
Constructor Summary
StageVariableContextImpl()
           
StageVariableContextImpl(String key, String value, VariableType variableType, ChainStageResult chainStageResult)
           
 
Method Summary
 ChainStageResult getChainStageResult()
           
 String getKey()
          Variable key as defined in UI
 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 setChainStageResult(ChainStageResult chainStageResult)
           
 void setKey(String key)
           
 void setValue(String value)
           
 void setVariableType(VariableType variableType)
           
 
Methods inherited from class com.atlassian.bamboo.core.BambooEntityObject
equals, getId, hashCode, setId
 
Methods inherited from class com.atlassian.core.bean.EntityObject
clone, getCreationDate, getCurrentDate, getLastModificationDate, 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

StageVariableContextImpl

public StageVariableContextImpl()

StageVariableContextImpl

public StageVariableContextImpl(String key,
                                String value,
                                VariableType variableType,
                                ChainStageResult chainStageResult)
Method Detail

getKey

public String getKey()
Description copied from interface: VariableDefinitionContext
Variable key as defined in UI

Specified by:
getKey in interface VariableDefinitionContext
Specified by:
getKey in interface VariableDefinitionIdentifier
Returns:
variable key

setKey

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

getValue

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

Specified by:
getValue in interface VariableDefinitionContext
Specified by:
getValue in interface VariableDefinitionIdentifier

setValue

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

getChainStageResult

public ChainStageResult getChainStageResult()
Specified by:
getChainStageResult in interface StageVariableContext

setChainStageResult

public void setChainStageResult(ChainStageResult chainStageResult)
Specified by:
setChainStageResult in interface StageVariableContext

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
Specified by:
getVariableType in interface VariableDefinitionIdentifier
Returns:

setVariableType

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


Copyright © 2015 Atlassian Software Systems Pty Ltd. All rights reserved.