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 PlangetPlan()@Nullable LongvoidsetDeploymentVersionId(@Nullable Long deploymentVersionId) voidsetEnvironmentId(Long environmentId) voidvoidsetProjectId(@Nullable Long projectId) Methods inherited from interface com.atlassian.bamboo.core.BambooIdProvider
getIdMethods inherited from interface com.atlassian.bamboo.core.BambooObject
setIdMethods inherited from interface com.atlassian.bamboo.variable.VariableDefinitionContext
getKey, getValue, getVariableType, setKey, setValue, setVariableTypeMethods inherited from interface com.atlassian.bamboo.versioning.VersionedEntityComponent
getRoot
-
Method Details
-
getProjectId
- Returns:
- id of associated
Projector null if not ofVariableType.PROJECTtype
-
setProjectId
-
getPlan
- Returns:
- associated
Planor null if not ofVariableType.PLANtype
-
setPlan
-
getEnvironmentId
- Returns:
- id of associated Deployment Environment or null if not of
VariableType.ENVIRONMENTtype
-
setEnvironmentId
-
getDeploymentVersionId
- Returns:
- id of associated Deployment Version or null if not of
VariableType.VERSIONtype
-
setDeploymentVersionId
-