@Internal
@ExperimentalApi
public interface InternalEnvironmentService
InternalEnvironment objects.
Unlike EnvironmentService, this service prioritises fetch performance over data completeness,
which might require special care on the part of the caller due to lazy loading happening on certain calls. (for instance: InternalEnvironment.getRequirementSet()| Modifier and Type | Method and Description |
|---|---|
@NotNull List<InternalEnvironment> |
getAllEnvironmentsNoUserContext(int firstResult,
int maxResults)
Retrieve all
Environment defined in the system without filling in operations permitted for the user. |
@NotNull Operations |
getAvailableOperations(@NotNull InternalEnvironment environmentStub) |
@NotNull Operations |
getAvailableOperations(@NotNull InternalEnvironment environmentStub,
boolean assumeCanRead) |
@NotNull List<EnvironmentStub> |
getEnvironmentsForDeploymentProject(long deploymentProjectId)
Get all environments for a particular deployment project.
|
@NotNull List<EnvironmentStub> |
getEnvironmentsForDeploymentProject(long deploymentProjectId,
boolean greedyOperations)
Get all environments for a particular deployment project.
|
@NotNull @NotNull List<InternalEnvironment> getAllEnvironmentsNoUserContext(int firstResult, int maxResults)
Environment defined in the system without filling in operations permitted for the user.@NotNull @NotNull List<EnvironmentStub> getEnvironmentsForDeploymentProject(long deploymentProjectId)
deploymentProjectId - of the deployment project to get environments for@NotNull @NotNull List<EnvironmentStub> getEnvironmentsForDeploymentProject(long deploymentProjectId, boolean greedyOperations)
deploymentProjectId - of the deployment project to get environments forgreedyOperations - if true, the returned objects will have their 'operations' field initialised, lazy suppliers otherwise@NotNull @NotNull Operations getAvailableOperations(@NotNull @NotNull InternalEnvironment environmentStub)
@NotNull @NotNull Operations getAvailableOperations(@NotNull @NotNull InternalEnvironment environmentStub, boolean assumeCanRead)
Copyright © 2025 Atlassian Software Systems Pty Ltd. All rights reserved.