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 StageVariableContext
clone(@NotNull StageVariableContext input)
ChainStageResult
getChainStageResult()
String
getKey()
Variable key as defined in UIString
getValue()
Variable value as set in UIVariableType
getVariableType()
VariableType
shows the source of variable value as it was evaluated before build executionvoid
setChainStageResult(ChainStageResult chainStageResult)
void
setKey(String key)
void
setValue(String value)
void
setVariableType(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:VariableDefinitionContext
Variable key as defined in UI- Specified by:
getKey
in interfaceVariableDefinitionContext
- Specified by:
getKey
in interfaceVariableDefinitionIdentifier
- Returns:
- variable key
-
setKey
public void setKey(String key)
- Specified by:
setKey
in interfaceVariableDefinitionContext
-
getValue
public String getValue()
Description copied from interface:VariableDefinitionContext
Variable value as set in UI- Specified by:
getValue
in interfaceVariableDefinitionContext
- Specified by:
getValue
in interfaceVariableDefinitionIdentifier
-
setValue
public void setValue(String value)
- Specified by:
setValue
in interfaceVariableDefinitionContext
-
getChainStageResult
public ChainStageResult getChainStageResult()
- Specified by:
getChainStageResult
in interfaceStageVariableContext
-
setChainStageResult
public void setChainStageResult(ChainStageResult chainStageResult)
- Specified by:
setChainStageResult
in interfaceStageVariableContext
-
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 interfaceVariableDefinitionContext
- Specified by:
getVariableType
in interfaceVariableDefinitionIdentifier
- Returns:
-
setVariableType
public void setVariableType(VariableType variableType)
- Specified by:
setVariableType
in interfaceVariableDefinitionContext
-
-