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 Long
getDeploymentVersionId()
@Nullable Long
getEnvironmentId()
@Nullable Plan
getPlan()
@Nullable Long
getProjectId()
void
setDeploymentVersionId(@Nullable Long deploymentVersionId)
void
setEnvironmentId(Long environmentId)
void
setPlan(Plan plan)
void
setProjectId(@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
Project
or null if not ofVariableType.PROJECT
type
-
setProjectId
void setProjectId(@Nullable @Nullable Long projectId)
-
getPlan
@Nullable @Nullable Plan getPlan()
- Returns:
- associated
Plan
or null if not ofVariableType.PLAN
type
-
setPlan
void setPlan(Plan plan)
-
getEnvironmentId
@Nullable @Nullable Long getEnvironmentId()
- Returns:
- id of associated Deployment Environment or null if not of
VariableType.ENVIRONMENT
type
-
setEnvironmentId
void setEnvironmentId(Long environmentId)
-
getDeploymentVersionId
@Nullable @Nullable Long getDeploymentVersionId()
- Returns:
- id of associated Deployment Version or null if not of
VariableType.VERSION
type
-
setDeploymentVersionId
void setDeploymentVersionId(@Nullable @Nullable Long deploymentVersionId)
-
-