Class DeploymentPermitterImpl
java.lang.Object
com.atlassian.bamboo.deployments.execution.service.DeploymentPermitterImpl
- All Implemented Interfaces:
DeploymentPermitter
-
Constructor Summary
ConstructorDescriptionDeploymentPermitterImpl
(NodeLifecycleProvider nodeLifecycleProvider, BambooLicenseManager bambooLicenseManager) -
Method Summary
Modifier and TypeMethodDescription@NotNull EnvironmentTriggeringResult
performDeployCheck
(@NotNull InternalEnvironment environment) This method checks whether we're currently able to deploy
-
Constructor Details
-
DeploymentPermitterImpl
public DeploymentPermitterImpl(NodeLifecycleProvider nodeLifecycleProvider, BambooLicenseManager bambooLicenseManager)
-
-
Method Details
-
performDeployCheck
@NotNull public @NotNull EnvironmentTriggeringResult performDeployCheck(@NotNull @NotNull InternalEnvironment environment) This method checks whether we're currently able to deploy- Specified by:
performDeployCheck
in interfaceDeploymentPermitter
- Parameters:
environment
- the environment to deploy to- Returns:
- the result of this check (which may include errors)
-