Class VariableBaselineItemImpl
- java.lang.Object
-
- com.atlassian.core.bean.EntityObject
-
- com.atlassian.bamboo.core.BambooEntityObject
-
- com.atlassian.bamboo.variable.baseline.VariableBaselineItemImpl
-
- All Implemented Interfaces:
BambooIdProvider
,BambooObject
,VariableBaselineItem
,VariableDefinitionIdentifier
,VariableSubstitutionContext
,Serializable
,Cloneable
@Entity public class VariableBaselineItemImpl extends BambooEntityObject implements VariableBaselineItem
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from interface com.atlassian.bamboo.variable.VariableDefinitionIdentifier
ORDERING
-
-
Constructor Summary
Constructors Constructor Description VariableBaselineItemImpl()
VariableBaselineItemImpl(String key, String value, VariableType variableType, VariableContextBaseline owningBaseline)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object o)
String
getKey()
Variable key as defined in UI@NotNull VariableContextBaseline
getOwningBaseline()
String
getValue()
Variable valueVariableType
getVariableType()
VariableType
shows the source of variable value as it was evaluated before build executionint
hashCode()
void
setKey(String key)
void
setOwningBaseline(@NotNull VariableContextBaseline owningBaseline)
void
setValue(String value)
void
setVariableType(VariableType variableType)
-
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, toString, wait, wait, wait
-
Methods inherited from interface com.atlassian.bamboo.core.BambooIdProvider
getId
-
Methods inherited from interface com.atlassian.bamboo.core.BambooObject
setId
-
-
-
-
Constructor Detail
-
VariableBaselineItemImpl
public VariableBaselineItemImpl()
-
VariableBaselineItemImpl
public VariableBaselineItemImpl(String key, String value, VariableType variableType, VariableContextBaseline owningBaseline)
-
-
Method Detail
-
getKey
public String getKey()
Description copied from interface:VariableDefinitionIdentifier
Variable key as defined in UI- Specified by:
getKey
in interfaceVariableDefinitionIdentifier
- Specified by:
getKey
in interfaceVariableSubstitutionContext
- Returns:
- variable identifier
-
setKey
public void setKey(String key)
- Specified by:
setKey
in interfaceVariableSubstitutionContext
-
getValue
public String getValue()
Description copied from interface:VariableDefinitionIdentifier
Variable value- Specified by:
getValue
in interfaceVariableDefinitionIdentifier
- Specified by:
getValue
in interfaceVariableSubstitutionContext
- Returns:
- variable value
-
setValue
public void setValue(String value)
- Specified by:
setValue
in interfaceVariableSubstitutionContext
-
getOwningBaseline
@NotNull public @NotNull VariableContextBaseline getOwningBaseline()
- Specified by:
getOwningBaseline
in interfaceVariableBaselineItem
-
setOwningBaseline
public void setOwningBaseline(@NotNull @NotNull VariableContextBaseline owningBaseline)
- Specified by:
setOwningBaseline
in interfaceVariableBaselineItem
-
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 interfaceVariableDefinitionIdentifier
- Specified by:
getVariableType
in interfaceVariableSubstitutionContext
- Returns:
- variable type
-
setVariableType
public void setVariableType(VariableType variableType)
- Specified by:
setVariableType
in interfaceVariableSubstitutionContext
-
equals
public boolean equals(Object o)
- Overrides:
equals
in classcom.atlassian.core.bean.EntityObject
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classcom.atlassian.core.bean.EntityObject
-
-