Package 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
@Entity public class StageVariableContextImpl extends BambooEntityObject implements StageVariableContext
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from interface com.atlassian.bamboo.variable.VariableDefinitionIdentifier
ORDERING
-
-
Constructor Summary
Constructors Constructor Description StageVariableContextImpl()StageVariableContextImpl(String key, String value, VariableType variableType, ChainStageResult chainStageResult)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static StageVariableContextclone(@NotNull StageVariableContext input)ChainStageResultgetChainStageResult()StringgetKey()Variable key as defined in UIStringgetValue()Variable value as set in UIVariableTypegetVariableType()VariableTypeshows the source of variable value as it was evaluated before build executionvoidsetChainStageResult(ChainStageResult chainStageResult)voidsetKey(String key)voidsetValue(String value)voidsetVariableType(VariableType variableType)-
Methods inherited from class com.atlassian.core.bean.EntityObject
clone, equals, getCreationDate, getCurrentDate, getId, getLastModificationDate, hashCode, setClock, setCreationDate, setId, setLastModificationDate
-
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface com.atlassian.bamboo.core.BambooIdProvider
getId
-
Methods inherited from interface com.atlassian.bamboo.core.BambooObject
setId
-
-
-
-
Constructor Detail
-
StageVariableContextImpl
public StageVariableContextImpl()
-
StageVariableContextImpl
public StageVariableContextImpl(String key, String value, VariableType variableType, ChainStageResult chainStageResult)
-
-
Method Detail
-
clone
public static StageVariableContext clone(@NotNull @NotNull StageVariableContext input)
-
getKey
public String getKey()
Description copied from interface:VariableDefinitionContextVariable key as defined in UI- Specified by:
getKeyin interfaceVariableDefinitionContext- Specified by:
getKeyin interfaceVariableDefinitionIdentifier- Returns:
- variable key
-
setKey
public void setKey(String key)
- Specified by:
setKeyin interfaceVariableDefinitionContext
-
getValue
public String getValue()
Description copied from interface:VariableDefinitionContextVariable value as set in UI- Specified by:
getValuein interfaceVariableDefinitionContext- Specified by:
getValuein interfaceVariableDefinitionIdentifier
-
setValue
public void setValue(String value)
- Specified by:
setValuein interfaceVariableDefinitionContext
-
getChainStageResult
public ChainStageResult getChainStageResult()
- Specified by:
getChainStageResultin interfaceStageVariableContext
-
setChainStageResult
public void setChainStageResult(ChainStageResult chainStageResult)
- Specified by:
setChainStageResultin interfaceStageVariableContext
-
getVariableType
public VariableType getVariableType()
Description copied from interface:VariableDefinitionContextVariableTypeshows the source of variable value as it was evaluated before build execution- Specified by:
getVariableTypein interfaceVariableDefinitionContext- Specified by:
getVariableTypein interfaceVariableDefinitionIdentifier- Returns:
-
setVariableType
public void setVariableType(VariableType variableType)
- Specified by:
setVariableTypein interfaceVariableDefinitionContext
-
-