com.atlassian.bamboo.variable
Class StageVariableContextImpl
java.lang.Object
com.atlassian.core.bean.EntityObject
com.atlassian.bamboo.core.BambooEntityObject
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
Methods inherited from class com.atlassian.core.bean.EntityObject |
clone, getCreationDate, getCurrentDate, getLastModificationDate, setClock, setCreationDate, setLastModificationDate |
StageVariableContextImpl
public StageVariableContextImpl()
StageVariableContextImpl
public StageVariableContextImpl(String key,
String value,
VariableType variableType,
ChainStageResult chainStageResult)
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.