com.atlassian.bamboo.variable.baseline
Class VariableBaselineItemImpl

java.lang.Object
  extended by com.atlassian.core.bean.EntityObject
      extended by com.atlassian.bamboo.core.BambooEntityObject
          extended by com.atlassian.bamboo.variable.baseline.VariableBaselineItemImpl
All Implemented Interfaces:
BambooIdProvider, BambooObject, VariableBaselineItem, VariableDefinitionIdentifier, VariableSubstitutionContext, java.io.Serializable, java.lang.Cloneable

public class VariableBaselineItemImpl
extends BambooEntityObject
implements VariableBaselineItem

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
VariableBaselineItemImpl()
           
VariableBaselineItemImpl(java.lang.String key, java.lang.String value, VariableType variableType, VariableContextBaseline owningBaseline)
           
 
Method Summary
 java.lang.String getKey()
          Variable key as defined in UI
 VariableContextBaseline getOwningBaseline()
           
 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 setOwningBaseline(VariableContextBaseline owningBaseline)
           
 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

VariableBaselineItemImpl

public VariableBaselineItemImpl()

VariableBaselineItemImpl

public VariableBaselineItemImpl(java.lang.String key,
                                java.lang.String value,
                                VariableType variableType,
                                VariableContextBaseline owningBaseline)
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()

setResultSummary

public void setResultSummary(ResultsSummary resultSummary)

getOwningBaseline

@NotNull
public VariableContextBaseline getOwningBaseline()
Specified by:
getOwningBaseline in interface VariableBaselineItem

setOwningBaseline

public void setOwningBaseline(@NotNull
                              VariableContextBaseline owningBaseline)
Specified by:
setOwningBaseline in interface VariableBaselineItem

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.