com.atlassian.bamboo.variable.baseline
Class VariableContextBaselineImpl

java.lang.Object
  extended by com.atlassian.core.bean.EntityObject
      extended by com.atlassian.bamboo.core.BambooEntityObject
          extended by com.atlassian.bamboo.variable.baseline.VariableContextBaselineImpl
All Implemented Interfaces:
BambooIdProvider, BambooObject, VariableContextBaseline, java.lang.Cloneable

public class VariableContextBaselineImpl
extends BambooEntityObject
implements VariableContextBaseline


Field Summary
 
Fields inherited from class com.atlassian.bamboo.core.BambooEntityObject
id
 
Constructor Summary
VariableContextBaselineImpl()
           
 
Method Summary
 boolean equals(java.lang.Object o)
          This method needs to be here in order to use proper id
 VariableBaselineItem findByKey(java.lang.String key)
           
 java.lang.String getHash()
           
 com.google.common.collect.ImmutableList<VariableBaselineItem> getVariables()
           
 int hashCode()
          This method needs to be here in order to use proper id
protected  void initVariables(java.util.List<VariableBaselineItem> variables)
           
 boolean isSameBaseline(VariableContextBaselineImpl that)
           
protected  void setHash(java.lang.String hash)
           
 java.lang.String toString()
           
 
Methods inherited from class com.atlassian.bamboo.core.BambooEntityObject
getId, 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, 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

VariableContextBaselineImpl

public VariableContextBaselineImpl()
Method Detail

initVariables

protected void initVariables(java.util.List<VariableBaselineItem> variables)

findByKey

@Nullable
public VariableBaselineItem findByKey(java.lang.String key)
Specified by:
findByKey in interface VariableContextBaseline

isSameBaseline

public boolean isSameBaseline(VariableContextBaselineImpl that)

getVariables

public com.google.common.collect.ImmutableList<VariableBaselineItem> getVariables()
Specified by:
getVariables in interface VariableContextBaseline

getHash

public java.lang.String getHash()

setHash

protected void setHash(java.lang.String hash)

equals

public boolean equals(java.lang.Object o)
Description copied from class: BambooEntityObject
This method needs to be here in order to use proper id

Overrides:
equals in class BambooEntityObject

hashCode

public int hashCode()
Description copied from class: BambooEntityObject
This method needs to be here in order to use proper id

Overrides:
hashCode in class BambooEntityObject

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object


Copyright © 2013 Atlassian Software Systems Pty Ltd. All Rights Reserved.