Class VariableContextBaselineImpl
java.lang.Object
com.atlassian.core.bean.EntityObject
com.atlassian.bamboo.core.BambooEntityObject
com.atlassian.bamboo.variable.baseline.VariableContextBaselineImpl
- All Implemented Interfaces:
BambooIdProvider
,BambooObject
,VariableContextBaseline
,Cloneable
@Entity
public class VariableContextBaselineImpl
extends BambooEntityObject
implements VariableContextBaseline
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
@Nullable VariableBaselineItem
getHash()
com.google.common.collect.ImmutableList<VariableBaselineItem>
Returns list ofVariableBaselineItem
that represents the variables used during a deployment execution.int
hashCode()
protected void
initVariables
(FinalArrayList<VariableBaselineItem> variables) void
Deprecated.since 7.0 For use in upgrade task only.static Predicate<VariableContextBaselineImpl>
sameBaseline
(@NotNull VariableContextBaselineImpl originalBaseline) protected void
toString()
Methods inherited from class com.atlassian.core.bean.EntityObject
clone, getCreationDate, getCurrentDate, getId, getLastModificationDate, setClock, setCreationDate, setId, setLastModificationDate
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface com.atlassian.bamboo.core.BambooIdProvider
getId
Methods inherited from interface com.atlassian.bamboo.core.BambooObject
setId
-
Constructor Details
-
VariableContextBaselineImpl
public VariableContextBaselineImpl()
-
-
Method Details
-
initVariables
-
removePasswordVariables
Deprecated.since 7.0 For use in upgrade task only. -
findByKey
- Specified by:
findByKey
in interfaceVariableContextBaseline
-
sameBaseline
public static Predicate<VariableContextBaselineImpl> sameBaseline(@NotNull @NotNull VariableContextBaselineImpl originalBaseline) -
getVariables
Description copied from interface:VariableContextBaseline
Returns list ofVariableBaselineItem
that represents the variables used during a deployment execution. Ideally, returned list should be immutable. But it is not enforced.- Specified by:
getVariables
in interfaceVariableContextBaseline
- Returns:
- list of
VariableBaselineItem
-
getHash
-
setHash
-
equals
- Overrides:
equals
in classcom.atlassian.core.bean.EntityObject
-
hashCode
public int hashCode()- Overrides:
hashCode
in classcom.atlassian.core.bean.EntityObject
-
toString
-