Class DeploymentProjectVersioningResource
java.lang.Object
com.atlassian.bamboo.plugins.rest.deployments.projects.DeploymentProjectVersioningResource
@Path("deploy/projectVersioning")
@Consumes("application/json")
@Produces("application/json")
@Singleton
public class DeploymentProjectVersioningResource
extends Object
-
Constructor Summary
ConstructorDescriptionDeploymentProjectVersioningResource
(VariableDefinitionManager variableDefinitionManager, DeploymentProjectService deploymentProjectService, DeploymentVersionService deploymentVersionService, CachedPlanManager cachedPlanManager, CustomVariableContext customVariableContext, com.atlassian.sal.api.message.I18nResolver i18nResolver) -
Method Summary
Modifier and TypeMethodDescriptioncom.atlassian.bamboo.plugins.rest.deployments.projects.DeploymentProjectVersioningResource.RestNamingPreview
getDeploymentNamingPreview
(long deploymentProjectId, String nextVersionName, boolean incrementNumbers, String variablesToIncrementString) com.atlassian.bamboo.plugins.rest.deployments.projects.DeploymentProjectVersioningResource.VersionVariables
getDeploymentProjectVariables
(long deploymentProjectId) com.atlassian.bamboo.plugins.rest.deployments.projects.DeploymentProjectVersioningResource.RestNamingPreview
getNextDeploymentVersions
(long deploymentProjectId, String resultKey) getVariablesFromName
(long deploymentProjectId, String versionName)
-
Constructor Details
-
DeploymentProjectVersioningResource
@Inject public DeploymentProjectVersioningResource(VariableDefinitionManager variableDefinitionManager, DeploymentProjectService deploymentProjectService, DeploymentVersionService deploymentVersionService, CachedPlanManager cachedPlanManager, CustomVariableContext customVariableContext, com.atlassian.sal.api.message.I18nResolver i18nResolver)
-
-
Method Details
-
getDeploymentProjectVariables
@GET @Path("{deploymentProjectId}/variables") public com.atlassian.bamboo.plugins.rest.deployments.projects.DeploymentProjectVersioningResource.VersionVariables getDeploymentProjectVariables(@PathParam("deploymentProjectId") long deploymentProjectId) throws WebValidationException - Throws:
WebValidationException
-
getDeploymentNamingPreview
@GET @Path("{deploymentProjectId}/namingPreview") public com.atlassian.bamboo.plugins.rest.deployments.projects.DeploymentProjectVersioningResource.RestNamingPreview getDeploymentNamingPreview(@PathParam("deploymentProjectId") long deploymentProjectId, @QueryParam("nextVersionName") String nextVersionName, @QueryParam("incrementNumbers") boolean incrementNumbers, @QueryParam("incrementableVariables") String variablesToIncrementString) throws WebValidationException - Throws:
WebValidationException
-
getNextDeploymentVersions
@GET @Path("{deploymentProjectId}/nextVersion") public com.atlassian.bamboo.plugins.rest.deployments.projects.DeploymentProjectVersioningResource.RestNamingPreview getNextDeploymentVersions(@PathParam("deploymentProjectId") long deploymentProjectId, @QueryParam("resultKey") String resultKey) throws WebValidationException - Throws:
WebValidationException
-
getVariablesFromName
@GET @Path("{deploymentProjectId}/parseVariables") public Collection<String> getVariablesFromName(@PathParam("deploymentProjectId") long deploymentProjectId, @QueryParam("nextVersionName") String versionName) throws WebValidationException - Throws:
WebValidationException
-