Interface Environment
-
- All Superinterfaces:
BambooIdProvider
,DescriptionProvider
,EnvironmentStub
,InternalEnvironment
,NameProvider
,TaskContainer
,Triggerable
- All Known Subinterfaces:
DecoratedEnvironment
- All Known Implementing Classes:
DecoratedEnvironmentImpl
,EnvironmentImpl
@PublicApi public interface Environment extends EnvironmentStub, Triggerable, TaskContainer
Represents a Deployment Environment within Bamboo. Each Environment belongs to aDeploymentProject
. All implementations will be Immutable. Implementations guarantee thatRequirementSet
is eagerly loaded.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Operations
getOperations()
Operations
object describing detailed permissions for environment@NotNull List<TaskDefinition>
getTaskDefinitions()
-
Methods inherited from interface com.atlassian.bamboo.deployments.environments.InternalEnvironment
getConfigurationState, getDeploymentProjectId, getDescription, getId, getKey, getName, getPosition, getReleaseApprovalPrerequisite, getRequirementSet, getRequirementSetSupplier, getTaskDefinitionsSupplier, getTriggerDefinitionsSupplier
-
Methods inherited from interface com.atlassian.bamboo.trigger.Triggerable
getTriggerDefinitions, isSuspended
-
-
-
-
Method Detail
-
getTaskDefinitions
@NotNull @NotNull List<TaskDefinition> getTaskDefinitions()
- Specified by:
getTaskDefinitions
in interfaceTaskContainer
- Returns:
- an ordered list of taskDefinitions for this environment.
-
getOperations
Operations getOperations()
Operations
object describing detailed permissions for environment- Specified by:
getOperations
in interfaceEnvironmentStub
- Returns:
-
-