Interface MutableEnvironment

All Superinterfaces:
BambooIdProvider, BambooObject, DescriptionProvider, InternalEnvironment, NameProvider, TaskContainer, Triggerable
All Known Implementing Classes:
MutableEnvironmentImpl

@Internal public interface MutableEnvironment extends BambooObject, InternalEnvironment
Represents the Environment that will be stored in the database. Should not be exposed outside of the service.
  • Method Details

    • getImmutableEnvironment

      @NotNull @NotNull Environment getImmutableEnvironment()
      Generate an immutable version based on this mutable version.
      Returns:
      immutable version of this environment.
    • setName

      void setName(String name)
    • setDescription

      void setDescription(String description)
    • getDeploymentProject

      @NotNull @NotNull MutableDeploymentProject getDeploymentProject()
    • setDeploymentProject

      void setDeploymentProject(MutableDeploymentProject deploymentProject)
    • getTasksXmlData

      String getTasksXmlData()
    • setTasksXmlData

      void setTasksXmlData(String tasksXmlData)
    • getTriggersXmlData

      String getTriggersXmlData()
    • setTriggersXmlData

      void setTriggersXmlData(String triggersXmlData)
    • setConfigurationState

      void setConfigurationState(ConfigurationState configurationState)
    • getRequirementSet

      @NotNull @NotNull RequirementSet getRequirementSet()
      Description copied from interface: InternalEnvironment
      Return effective value of ImmutableRequirementSet, that is value that is considered when checking which agents and elastic images can deploy to this environment.
      Specified by:
      getRequirementSet in interface InternalEnvironment
    • setRequirementSet

      void setRequirementSet(RequirementSet requirementSet)
    • getNotificationSet

      @NotNull @NotNull NotificationSet getNotificationSet()
    • setNotificationSet

      void setNotificationSet(NotificationSet notificationSet)
    • setPosition

      void setPosition(int position)
    • setReleaseApprovalPrerequisite

      void setReleaseApprovalPrerequisite(ReleaseApprovalPrerequisite releaseApprovalPrerequisite)