Interface MutableEnvironment
- All Superinterfaces:
BambooIdProvider,BambooObject,DescriptionProvider,InternalEnvironment,NameProvider,TaskContainer,Triggerable,Versionable
- 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 EnvironmentGenerate an immutable version based on this mutable version.@NotNull NotificationSet@NotNull RequirementSetReturn effective value ofImmutableRequirementSet, that is value that is considered when checking which agents and elastic images can deploy to this environment.voidsetConfigurationState(ConfigurationState configurationState) voidsetDeploymentProject(MutableDeploymentProject deploymentProject) voidsetDescription(String description) voidvoidsetNotificationSet(NotificationSet notificationSet) voidsetPosition(int position) voidsetReleaseApprovalPrerequisite(ReleaseApprovalPrerequisite releaseApprovalPrerequisite) voidsetRequirementSet(RequirementSet requirementSet) voidsetTasksXmlData(String tasksXmlData) voidsetTriggersXmlData(String triggersXmlData) voidsetVersion(@NotNull Long version) Methods inherited from interface com.atlassian.bamboo.core.BambooObject
setIdMethods inherited from interface com.atlassian.bamboo.deployments.environments.InternalEnvironment
getConfigurationState, getDeploymentProjectId, getDescription, getId, getKey, getName, getPosition, getReleaseApprovalPrerequisite, getRequirementSetSupplier, getTaskDefinitionsSupplier, getTriggerDefinitionsSupplierMethods inherited from interface com.atlassian.bamboo.task.TaskContainer
getTaskDefinitionsMethods inherited from interface com.atlassian.bamboo.trigger.Triggerable
getTriggerDefinitions, isSuspendedMethods inherited from interface com.atlassian.bamboo.versioning.Versionable
getVersion
-
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:InternalEnvironmentReturn effective value ofImmutableRequirementSet, that is value that is considered when checking which agents and elastic images can deploy to this environment.- Specified by:
getRequirementSetin interfaceInternalEnvironment
-
setRequirementSet
-
getNotificationSet
-
setNotificationSet
-
setPosition
void setPosition(int position) -
setVersion
-
setReleaseApprovalPrerequisite
-