Interface MutableEnvironment
- All Superinterfaces:
BambooIdProvider
,BambooObject
,DescriptionProvider
,InternalEnvironment
,NameProvider
,TaskContainer
,Triggerable
- All Known Implementing Classes:
MutableEnvironmentImpl
Represents the Environment that will be stored in the database. Should not be exposed outside of the service.
-
Method Summary
Modifier and TypeMethodDescription@NotNull MutableDeploymentProject
@NotNull Environment
Generate an immutable version based on this mutable version.@NotNull NotificationSet
@NotNull RequirementSet
Return effective value ofImmutableRequirementSet
, that is value that is considered when checking which agents and elastic images can deploy to this environment.void
setConfigurationState
(ConfigurationState configurationState) void
setDeploymentProject
(MutableDeploymentProject deploymentProject) void
setDescription
(String description) void
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 Details
-
getImmutableEnvironment
Generate an immutable version based on this mutable version.- Returns:
- immutable version of this environment.
-
setName
-
setDescription
-
getDeploymentProject
-
setDeploymentProject
-
getTasksXmlData
String getTasksXmlData() -
setTasksXmlData
-
getTriggersXmlData
String getTriggersXmlData() -
setTriggersXmlData
-
setConfigurationState
-
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
-
getNotificationSet
-
setNotificationSet
-
setPosition
void setPosition(int position) -
setReleaseApprovalPrerequisite
-