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:
-
Field Summary
Fields inherited from interface com.atlassian.bamboo.variable.VariableDefinitionIdentifier
ORDERING
-
Constructor Summary
ConstructorDescriptionStageVariableContextImpl
(String key, String value, VariableType variableType, ChainStageResult chainStageResult) -
Method Summary
Modifier and TypeMethodDescriptionstatic StageVariableContext
clone
(@NotNull StageVariableContext input) getKey()
Variable key as defined in UIgetValue()
Variable value as set in UIVariableType
shows the source of variable value as it was evaluated before build executionvoid
setChainStageResult
(ChainStageResult chainStageResult) void
void
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 Details
-
StageVariableContextImpl
public StageVariableContextImpl() -
StageVariableContextImpl
public StageVariableContextImpl(String key, String value, VariableType variableType, ChainStageResult chainStageResult)
-
-
Method Details
-
clone
-
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
- Specified by:
setKey
in interfaceVariableDefinitionContext
-
getValue
Description copied from interface:VariableDefinitionContext
Variable value as set in UI- Specified by:
getValue
in interfaceVariableDefinitionContext
- Specified by:
getValue
in interfaceVariableDefinitionIdentifier
-
setValue
- Specified by:
setValue
in interfaceVariableDefinitionContext
-
getChainStageResult
- Specified by:
getChainStageResult
in interfaceStageVariableContext
-
setChainStageResult
- Specified by:
setChainStageResult
in interfaceStageVariableContext
-
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
- Specified by:
setVariableType
in interfaceVariableDefinitionContext
-