Package com.atlassian.bamboo.variable
Class VariableContextSnapshotImpl
java.lang.Object
com.atlassian.core.bean.EntityObject
com.atlassian.bamboo.core.BambooEntityObject
com.atlassian.bamboo.variable.VariableContextSnapshotImpl
- All Implemented Interfaces:
BambooIdProvider
,BambooObject
,VariableContextSnapshot
,VariableDefinitionIdentifier
,VariableSubstitutionContext
,Serializable
,Cloneable
@Entity
public class VariableContextSnapshotImpl
extends BambooEntityObject
implements VariableContextSnapshot
- See Also:
-
Field Summary
Fields inherited from interface com.atlassian.bamboo.variable.VariableDefinitionIdentifier
ORDERING
-
Constructor Summary
ConstructorDescriptionVariableContextSnapshotImpl
(String key, String value, VariableType variableType, ResultsSummary resultSummary) -
Method Summary
Modifier and TypeMethodDescriptionstatic VariableContextSnapshot
clone
(@NotNull VariableContextSnapshot input) getKey()
Variable key as defined in UIgetValue()
Variable valueVariableType
shows the source of variable value as it was evaluated before build executionvoid
void
setResultSummary
(ResultsSummary resultSummary) 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
-
VariableContextSnapshotImpl
public VariableContextSnapshotImpl() -
VariableContextSnapshotImpl
public VariableContextSnapshotImpl(String key, String value, VariableType variableType, ResultsSummary resultSummary)
-
-
Method Details
-
clone
-
getKey
Description copied from interface:VariableDefinitionIdentifier
Variable key as defined in UI- Specified by:
getKey
in interfaceVariableDefinitionIdentifier
- Specified by:
getKey
in interfaceVariableSubstitutionContext
- Returns:
- variable identifier
-
setKey
- Specified by:
setKey
in interfaceVariableSubstitutionContext
-
getValue
Description copied from interface:VariableDefinitionIdentifier
Variable value- Specified by:
getValue
in interfaceVariableDefinitionIdentifier
- Specified by:
getValue
in interfaceVariableSubstitutionContext
- Returns:
- variable value
-
setValue
- Specified by:
setValue
in interfaceVariableSubstitutionContext
-
getResultSummary
- Specified by:
getResultSummary
in interfaceVariableContextSnapshot
-
setResultSummary
- Specified by:
setResultSummary
in interfaceVariableContextSnapshot
-
getVariableType
Description copied from interface:VariableDefinitionIdentifier
VariableType
shows the source of variable value as it was evaluated before build execution- Specified by:
getVariableType
in interfaceVariableDefinitionIdentifier
- Specified by:
getVariableType
in interfaceVariableSubstitutionContext
- Returns:
- variable type
-
setVariableType
- Specified by:
setVariableType
in interfaceVariableSubstitutionContext
-