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
ConstructorsConstructorDescriptionVariableContextSnapshotImpl(String key, String value, VariableType variableType, ResultsSummary resultSummary) -
Method Summary
Modifier and TypeMethodDescriptionstatic VariableContextSnapshotclone(@NotNull VariableContextSnapshot input) getKey()Variable key as defined in UIgetValue()Variable valueVariableTypeshows the source of variable value as it was evaluated before build executionvoidvoidsetResultSummary(ResultsSummary resultSummary) voidvoidsetVariableType(VariableType variableType) Methods inherited from class com.atlassian.core.bean.EntityObject
clone, equals, getCreationDate, getCurrentDate, getId, getLastModificationDate, hashCode, setClock, setCreationDate, setId, setLastModificationDateMethods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.atlassian.bamboo.core.BambooIdProvider
getIdMethods 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:VariableDefinitionIdentifierVariable key as defined in UI- Specified by:
getKeyin interfaceVariableDefinitionIdentifier- Specified by:
getKeyin interfaceVariableSubstitutionContext- Returns:
- variable identifier
-
setKey
- Specified by:
setKeyin interfaceVariableSubstitutionContext
-
getValue
Description copied from interface:VariableDefinitionIdentifierVariable value- Specified by:
getValuein interfaceVariableDefinitionIdentifier- Specified by:
getValuein interfaceVariableSubstitutionContext- Returns:
- variable value
-
setValue
- Specified by:
setValuein interfaceVariableSubstitutionContext
-
getResultSummary
- Specified by:
getResultSummaryin interfaceVariableContextSnapshot
-
setResultSummary
- Specified by:
setResultSummaryin interfaceVariableContextSnapshot
-
getVariableType
Description copied from interface:VariableDefinitionIdentifierVariableTypeshows the source of variable value as it was evaluated before build execution- Specified by:
getVariableTypein interfaceVariableDefinitionIdentifier- Specified by:
getVariableTypein interfaceVariableSubstitutionContext- Returns:
- variable type
-
setVariableType
- Specified by:
setVariableTypein interfaceVariableSubstitutionContext
-