Interface VariableDefinition

All Superinterfaces:
BambooIdProvider, BambooObject, Serializable, VariableDefinitionContext, VariableDefinitionIdentifier, VersionedEntityComponent<Plan>
All Known Implementing Classes:
VariableDefinitionImpl

public interface VariableDefinition extends VariableDefinitionContext, BambooObject, VersionedEntityComponent<Plan>
  • Method Details

    • getProjectId

      @Nullable @Nullable Long getProjectId()
      Returns:
      id of associated Project or null if not of VariableType.PROJECT type
    • setProjectId

      void setProjectId(@Nullable @Nullable Long projectId)
    • getPlan

      @Nullable @Nullable Plan getPlan()
      Returns:
      associated Plan or null if not of VariableType.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)