@Path(value="deploy/projectVersioning") @Consumes(value="application/json") @Produces(value="application/json") @Singleton public class DeploymentProjectVersioningResource extends Object
Constructor and Description |
---|
DeploymentProjectVersioningResource(VariableDefinitionManager variableDefinitionManager,
DeploymentProjectService deploymentProjectService,
DeploymentVersionService deploymentVersionService,
CachedPlanManager cachedPlanManager,
CustomVariableContext customVariableContext,
com.atlassian.sal.api.message.I18nResolver i18nResolver) |
Modifier and Type | Method and Description |
---|---|
com.atlassian.bamboo.plugins.rest.deployments.projects.DeploymentProjectVersioningResource.RestNamingPreview |
getDeploymentNamingPreview(long id,
String nextVersionName,
boolean incrementNumbers,
String variablesToIncrementString) |
com.atlassian.bamboo.plugins.rest.deployments.projects.DeploymentProjectVersioningResource.VersionVariables |
getDeploymentProjectVariables(long id,
javax.ws.rs.core.UriInfo uriInfo,
javax.ws.rs.core.HttpHeaders httpHeaders) |
com.atlassian.bamboo.plugins.rest.deployments.projects.DeploymentProjectVersioningResource.RestNamingPreview |
getNextDeploymentVersions(long id,
String resultKey) |
Collection<String> |
getVariablesFromName(long id,
String nextVersionName) |
public DeploymentProjectVersioningResource(VariableDefinitionManager variableDefinitionManager, DeploymentProjectService deploymentProjectService, DeploymentVersionService deploymentVersionService, CachedPlanManager cachedPlanManager, CustomVariableContext customVariableContext, com.atlassian.sal.api.message.I18nResolver i18nResolver)
@GET @Path(value="{id}/variables") public com.atlassian.bamboo.plugins.rest.deployments.projects.DeploymentProjectVersioningResource.VersionVariables getDeploymentProjectVariables(@PathParam(value="id") long id, @Context javax.ws.rs.core.UriInfo uriInfo, @Context javax.ws.rs.core.HttpHeaders httpHeaders)
@GET @Path(value="{id}/namingPreview") public com.atlassian.bamboo.plugins.rest.deployments.projects.DeploymentProjectVersioningResource.RestNamingPreview getDeploymentNamingPreview(@PathParam(value="id") long id, @QueryParam(value="nextVersionName") String nextVersionName, @QueryParam(value="incrementNumbers") boolean incrementNumbers, @QueryParam(value="incrementableVariables") String variablesToIncrementString)
@GET @Path(value="{id}/nextVersion") public com.atlassian.bamboo.plugins.rest.deployments.projects.DeploymentProjectVersioningResource.RestNamingPreview getNextDeploymentVersions(@PathParam(value="id") long id, @QueryParam(value="resultKey") String resultKey)
@GET @Path(value="{id}/parseVariables") public Collection<String> getVariablesFromName(@PathParam(value="id") long id, @QueryParam(value="nextVersionName") String nextVersionName)
Copyright © 2016 Atlassian Software Systems Pty Ltd. All rights reserved.