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 Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description @NotNull MutableDeploymentProject
getDeploymentProject()
@NotNull Environment
getImmutableEnvironment()
Generate an immutable version based on this mutable version.@NotNull NotificationSet
getNotificationSet()
@NotNull RequirementSet
getRequirementSet()
Return effective value ofImmutableRequirementSet
, that is value that is considered when checking which agents and elastic images can deploy to this environment.String
getTasksXmlData()
String
getTriggersXmlData()
void
setConfigurationState(ConfigurationState configurationState)
void
setDeploymentProject(MutableDeploymentProject deploymentProject)
void
setDescription(String description)
void
setName(String name)
void
setNotificationSet(NotificationSet notificationSet)
void
setPosition(int position)
void
setReleaseApprovalPrerequisite(ReleaseApprovalPrerequisite releaseApprovalPrerequisite)
void
setRequirementSet(RequirementSet requirementSet)
void
setTasksXmlData(String tasksXmlData)
void
setTriggersXmlData(String triggersXmlData)
-
Methods inherited from interface com.atlassian.bamboo.core.BambooObject
setId
-
Methods inherited from interface com.atlassian.bamboo.deployments.environments.InternalEnvironment
getConfigurationState, getDeploymentProjectId, getDescription, getId, getKey, getName, getPosition, getReleaseApprovalPrerequisite, getRequirementSetSupplier, getTaskDefinitionsSupplier, getTriggerDefinitionsSupplier
-
Methods inherited from interface com.atlassian.bamboo.task.TaskContainer
getTaskDefinitions
-
Methods inherited from interface com.atlassian.bamboo.trigger.Triggerable
getTriggerDefinitions, isSuspended
-
-
-
-
Method Detail
-
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 ofImmutableRequirementSet
, that is value that is considered when checking which agents and elastic images can deploy to this environment.- Specified by:
getRequirementSet
in interfaceInternalEnvironment
-
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)
-
-