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, java.io.Serializable, java.lang.Cloneable
public class VariableContextSnapshotImpl
- extends BambooEntityObject
- implements VariableContextSnapshot
- See Also:
- Serialized Form
Methods inherited from class com.atlassian.core.bean.EntityObject |
clone, getCreationDate, getCurrentDate, getLastModificationDate, setClock, setCreationDate, setLastModificationDate |
Methods inherited from class java.lang.Object |
finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
VariableContextSnapshotImpl
public VariableContextSnapshotImpl()
VariableContextSnapshotImpl
public VariableContextSnapshotImpl(java.lang.String key,
java.lang.String value,
VariableType variableType,
ResultsSummary resultSummary)
getKey
public java.lang.String getKey()
- Description copied from interface:
VariableDefinitionIdentifier
- Variable key as defined in UI
- Specified by:
getKey
in interface VariableDefinitionIdentifier
- Specified by:
getKey
in interface VariableSubstitutionContext
- Returns:
- variable identifier
setKey
public void setKey(java.lang.String key)
- Specified by:
setKey
in interface VariableSubstitutionContext
getValue
public java.lang.String getValue()
- Description copied from interface:
VariableDefinitionIdentifier
- Variable value
- Specified by:
getValue
in interface VariableDefinitionIdentifier
- Specified by:
getValue
in interface VariableSubstitutionContext
- Returns:
- variable value
setValue
public void setValue(java.lang.String value)
- Specified by:
setValue
in interface VariableSubstitutionContext
getResultSummary
public ResultsSummary getResultSummary()
- Specified by:
getResultSummary
in interface VariableContextSnapshot
setResultSummary
public void setResultSummary(ResultsSummary resultSummary)
- Specified by:
setResultSummary
in interface VariableContextSnapshot
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 interface VariableDefinitionIdentifier
- Specified by:
getVariableType
in interface VariableSubstitutionContext
- Returns:
- variable type
setVariableType
public void setVariableType(VariableType variableType)
- Specified by:
setVariableType
in interface VariableSubstitutionContext
Copyright © 2013 Atlassian Software Systems Pty Ltd. All Rights Reserved.