Class CloneResource

java.lang.Object
com.atlassian.bamboo.plugins.rest.resource.CloneResource

@Path("clone") @Consumes({"application/xml","application/json"}) @Produces({"application/xml","application/json"}) @Singleton public class CloneResource extends Object
  • Constructor Details

    • CloneResource

      @Inject public CloneResource(ChainCreationService chainCreationService, com.atlassian.sal.api.message.I18nResolver i18nResolver, PlanRestService planRestService)
  • Method Details

    • getClone

      @PUT @Path("{projectKey : ([^-/]+)}-{buildKey}:{toProjectKey}-{toBuildKey}") public RestPlan getClone(@PathParam("projectKey") String fromProjectKey, @PathParam("buildKey") String fromBuildKey, @PathParam("toProjectKey") String toProjectKey, @PathParam("toBuildKey") String toBuildKey, @Context javax.ws.rs.core.UriInfo uriInfo)