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