Package com.atlassian.bamboo.variable
Interface VariableDefinition
-
- All Superinterfaces:
BambooIdProvider,BambooObject,Serializable,VariableDefinitionContext,VariableDefinitionIdentifier,VersionedEntityComponent<Plan>
- All Known Implementing Classes:
VariableDefinitionImpl
public interface VariableDefinition extends VariableDefinitionContext, BambooObject, VersionedEntityComponent<Plan>
-
-
Field Summary
-
Fields inherited from interface com.atlassian.bamboo.variable.VariableDefinitionIdentifier
ORDERING
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description @Nullable LonggetDeploymentVersionId()@Nullable LonggetEnvironmentId()@Nullable PlangetPlan()@Nullable LonggetProjectId()voidsetDeploymentVersionId(@Nullable Long deploymentVersionId)voidsetEnvironmentId(Long environmentId)voidsetPlan(Plan plan)voidsetProjectId(@Nullable Long projectId)-
Methods inherited from interface com.atlassian.bamboo.core.BambooIdProvider
getId
-
Methods inherited from interface com.atlassian.bamboo.core.BambooObject
setId
-
Methods inherited from interface com.atlassian.bamboo.variable.VariableDefinitionContext
getKey, getValue, getVariableType, setKey, setValue, setVariableType
-
Methods inherited from interface com.atlassian.bamboo.versioning.VersionedEntityComponent
getRoot
-
-
-
-
Method Detail
-
getProjectId
@Nullable @Nullable Long getProjectId()
- Returns:
- id of associated
Projector null if not ofVariableType.PROJECTtype
-
setProjectId
void setProjectId(@Nullable @Nullable Long projectId)
-
getPlan
@Nullable @Nullable Plan getPlan()
- Returns:
- associated
Planor null if not ofVariableType.PLANtype
-
setPlan
void setPlan(Plan plan)
-
getEnvironmentId
@Nullable @Nullable Long getEnvironmentId()
- Returns:
- id of associated Deployment Environment or null if not of
VariableType.ENVIRONMENTtype
-
setEnvironmentId
void setEnvironmentId(Long environmentId)
-
getDeploymentVersionId
@Nullable @Nullable Long getDeploymentVersionId()
- Returns:
- id of associated Deployment Version or null if not of
VariableType.VERSIONtype
-
setDeploymentVersionId
void setDeploymentVersionId(@Nullable @Nullable Long deploymentVersionId)
-
-