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:
-
Field Summary
Fields inherited from interface com.atlassian.bamboo.variable.VariableDefinitionIdentifier
ORDERING
-
Constructor Summary
ConstructorDescriptionVariableBaselineItemImpl
(String key, String value, VariableType variableType, VariableContextBaseline owningBaseline) -
Method Summary
Modifier and TypeMethodDescriptionboolean
getKey()
Variable key as defined in UI@NotNull VariableContextBaseline
getValue()
Variable valueVariableType
shows the source of variable value as it was evaluated before build executionint
hashCode()
void
void
setOwningBaseline
(@NotNull VariableContextBaseline owningBaseline) void
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 Details
-
VariableBaselineItemImpl
public VariableBaselineItemImpl() -
VariableBaselineItemImpl
public VariableBaselineItemImpl(String key, String value, VariableType variableType, VariableContextBaseline owningBaseline)
-
-
Method Details
-
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
- Specified by:
setKey
in interfaceVariableSubstitutionContext
-
getValue
Description copied from interface:VariableDefinitionIdentifier
Variable value- Specified by:
getValue
in interfaceVariableDefinitionIdentifier
- Specified by:
getValue
in interfaceVariableSubstitutionContext
- Returns:
- variable value
-
setValue
- Specified by:
setValue
in interfaceVariableSubstitutionContext
-
getOwningBaseline
- Specified by:
getOwningBaseline
in interfaceVariableBaselineItem
-
setOwningBaseline
- Specified by:
setOwningBaseline
in interfaceVariableBaselineItem
-
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
- Specified by:
setVariableType
in interfaceVariableSubstitutionContext
-
equals
- Overrides:
equals
in classcom.atlassian.core.bean.EntityObject
-
hashCode
public int hashCode()- Overrides:
hashCode
in classcom.atlassian.core.bean.EntityObject
-