Package com.atlassian.bamboo.deployments
Class OperationsUtil
java.lang.Object
com.atlassian.bamboo.deployments.OperationsUtil
Utility class for determining the available operations on a deployment project.
- Since:
- 11.0
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic Operations
getAvailableOperations
(@NotNull InternalDeploymentProject deploymentProject, boolean assumeReadGranted, @NotNull BambooPermissionManager bambooPermissionManager) Determines the available operations for a given deployment project.
-
Constructor Details
-
OperationsUtil
public OperationsUtil()
-
-
Method Details
-
getAvailableOperations
public static Operations getAvailableOperations(@NotNull @NotNull InternalDeploymentProject deploymentProject, boolean assumeReadGranted, @NotNull @NotNull BambooPermissionManager bambooPermissionManager) Determines the available operations for a given deployment project.- Parameters:
deploymentProject
- the deployment projectassumeReadGranted
- whether to assume read permission is grantedbambooPermissionManager
- the permission manager- Returns:
- the available operations
-