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:
- Serialized Form
-
-
Field Summary
-
Fields inherited from interface com.atlassian.bamboo.variable.VariableDefinitionIdentifier
ORDERING
-
-
Constructor Summary
Constructors Constructor Description VariableContextSnapshotImpl()
VariableContextSnapshotImpl(String key, String value, VariableType variableType, ResultsSummary resultSummary)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static VariableContextSnapshot
clone(@NotNull VariableContextSnapshot input)
String
getKey()
Variable key as defined in UIResultsSummary
getResultSummary()
String
getValue()
Variable valueVariableType
getVariableType()
VariableType
shows the source of variable value as it was evaluated before build executionvoid
setKey(String key)
void
setResultSummary(ResultsSummary resultSummary)
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
-
VariableContextSnapshotImpl
public VariableContextSnapshotImpl()
-
VariableContextSnapshotImpl
public VariableContextSnapshotImpl(String key, String value, VariableType variableType, ResultsSummary resultSummary)
-
-
Method Detail
-
clone
public static VariableContextSnapshot clone(@NotNull @NotNull VariableContextSnapshot input)
-
getKey
public String 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
public void setKey(String key)
- Specified by:
setKey
in interfaceVariableSubstitutionContext
-
getValue
public String getValue()
Description copied from interface:VariableDefinitionIdentifier
Variable value- Specified by:
getValue
in interfaceVariableDefinitionIdentifier
- Specified by:
getValue
in interfaceVariableSubstitutionContext
- Returns:
- variable value
-
setValue
public void setValue(String value)
- Specified by:
setValue
in interfaceVariableSubstitutionContext
-
getResultSummary
public ResultsSummary getResultSummary()
- Specified by:
getResultSummary
in interfaceVariableContextSnapshot
-
setResultSummary
public void setResultSummary(ResultsSummary resultSummary)
- Specified by:
setResultSummary
in interfaceVariableContextSnapshot
-
getVariableType
public VariableType 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
public void setVariableType(VariableType variableType)
- Specified by:
setVariableType
in interfaceVariableSubstitutionContext
-
-