Class DeploymentProjectVersioningResource
- java.lang.Object
-
- com.atlassian.bamboo.plugins.rest.deployments.projects.DeploymentProjectVersioningResource
-
@Singleton public class DeploymentProjectVersioningResource extends Object
-
-
Constructor Summary
Constructors Constructor Description DeploymentProjectVersioningResource(VariableDefinitionManager variableDefinitionManager, DeploymentProjectService deploymentProjectService, DeploymentVersionService deploymentVersionService, CachedPlanManager cachedPlanManager, CustomVariableContext customVariableContext, com.atlassian.sal.api.message.I18nResolver i18nResolver)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description com.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)
Collection<String>
getVariablesFromName(long deploymentProjectId, String versionName)
-
-
-
Constructor Detail
-
DeploymentProjectVersioningResource
public DeploymentProjectVersioningResource(VariableDefinitionManager variableDefinitionManager, DeploymentProjectService deploymentProjectService, DeploymentVersionService deploymentVersionService, CachedPlanManager cachedPlanManager, CustomVariableContext customVariableContext, com.atlassian.sal.api.message.I18nResolver i18nResolver)
-
-
Method Detail
-
getDeploymentProjectVariables
public com.atlassian.bamboo.plugins.rest.deployments.projects.DeploymentProjectVersioningResource.VersionVariables getDeploymentProjectVariables(long deploymentProjectId) throws WebValidationException
- Throws:
WebValidationException
-
getDeploymentNamingPreview
public com.atlassian.bamboo.plugins.rest.deployments.projects.DeploymentProjectVersioningResource.RestNamingPreview getDeploymentNamingPreview(long deploymentProjectId, String nextVersionName, boolean incrementNumbers, String variablesToIncrementString) throws WebValidationException
- Throws:
WebValidationException
-
getNextDeploymentVersions
public com.atlassian.bamboo.plugins.rest.deployments.projects.DeploymentProjectVersioningResource.RestNamingPreview getNextDeploymentVersions(long deploymentProjectId, String resultKey) throws WebValidationException
- Throws:
WebValidationException
-
getVariablesFromName
public Collection<String> getVariablesFromName(long deploymentProjectId, String versionName) throws WebValidationException
- Throws:
WebValidationException
-
-