com.atlassian.bamboo.variable
Class VariableContextSnapshotImpl

java.lang.Object
  extended by com.atlassian.core.bean.EntityObject
      extended by com.atlassian.bamboo.core.BambooEntityObject
          extended by 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

Field Summary
 
Fields inherited from class com.atlassian.bamboo.core.BambooEntityObject
id
 
Fields inherited from interface com.atlassian.bamboo.variable.VariableDefinitionIdentifier
ORDERING
 
Constructor Summary
VariableContextSnapshotImpl()
           
VariableContextSnapshotImpl(java.lang.String key, java.lang.String value, VariableType variableType, ResultsSummary resultSummary)
           
 
Method Summary
 java.lang.String getKey()
          Variable key as defined in UI
 ResultsSummary getResultSummary()
           
 java.lang.String getValue()
          Variable value
 VariableType getVariableType()
          VariableType shows the source of variable value as it was evaluated before build execution
 void setKey(java.lang.String key)
           
 void setResultSummary(ResultsSummary resultSummary)
           
 void setValue(java.lang.String value)
           
 void setVariableType(VariableType variableType)
           
 
Methods inherited from class com.atlassian.bamboo.core.BambooEntityObject
equals, getId, hashCode, setId
 
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
 
Methods inherited from interface com.atlassian.bamboo.core.BambooObject
setId
 
Methods inherited from interface com.atlassian.bamboo.core.BambooIdProvider
getId
 

Constructor Detail

VariableContextSnapshotImpl

public VariableContextSnapshotImpl()

VariableContextSnapshotImpl

public VariableContextSnapshotImpl(java.lang.String key,
                                   java.lang.String value,
                                   VariableType variableType,
                                   ResultsSummary resultSummary)
Method Detail

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.