Class DeploymentVersionResource
- java.lang.Object
-
- com.atlassian.bamboo.plugins.rest.deployments.versions.DeploymentVersionResource
-
@Singleton public class DeploymentVersionResource extends Object
-
-
Constructor Summary
Constructors Constructor Description DeploymentVersionResource(DeploymentVersionService deploymentVersionService, com.atlassian.sal.api.message.I18nResolver i18nResolver, DeploymentProjectPermissionsService deploymentProjectPermissionsService)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description RestDeploymentVersionStatuses
getLatestVersionStatuses(long deploymentVersionId, com.atlassian.plugins.rest.common.security.AuthenticationContext authenticationContext)
RestDeploymentVersionAndPlanResult
getVersionAndPlanResult(long deploymentVersionId)
RestDeploymentVersionStatuses
updateVersionStatus(long deploymentVersionId, String newStatus, com.atlassian.plugins.rest.common.security.AuthenticationContext authenticationContext)
-
-
-
Constructor Detail
-
DeploymentVersionResource
public DeploymentVersionResource(DeploymentVersionService deploymentVersionService, com.atlassian.sal.api.message.I18nResolver i18nResolver, DeploymentProjectPermissionsService deploymentProjectPermissionsService)
-
-
Method Detail
-
getLatestVersionStatuses
public RestDeploymentVersionStatuses getLatestVersionStatuses(long deploymentVersionId, @Context com.atlassian.plugins.rest.common.security.AuthenticationContext authenticationContext)
-
updateVersionStatus
public RestDeploymentVersionStatuses updateVersionStatus(long deploymentVersionId, String newStatus, @Context com.atlassian.plugins.rest.common.security.AuthenticationContext authenticationContext) throws WebValidationException
- Throws:
WebValidationException
-
getVersionAndPlanResult
public RestDeploymentVersionAndPlanResult getVersionAndPlanResult(long deploymentVersionId)
-
-