Class DependencyResource
java.lang.Object
com.atlassian.bamboo.plugins.rest.resource.DependencyResource
@Path("dependency")
@Consumes({"application/xml","application/json"})
@Produces({"application/xml","application/json"})
@Singleton
public class DependencyResource
extends Object
-
Constructor Summary
ConstructorDescriptionDependencyResource
(BambooUserManager bambooUserManager, PlanRestService planRestService, RestAuthenticationContext restAuthenticationContext) -
Method Summary
Modifier and TypeMethodDescriptionsearchForAvailablePlanChildDependencies
(String projectKey, String buildKey, @NotNull String searchTerm, javax.ws.rs.core.UriInfo uriInfo) searchForAvailablePlanParentDependencies
(String projectKey, String buildKey, @NotNull String searchTerm, javax.ws.rs.core.UriInfo uriInfo)
-
Constructor Details
-
DependencyResource
@Inject public DependencyResource(BambooUserManager bambooUserManager, PlanRestService planRestService, RestAuthenticationContext restAuthenticationContext)
-
-
Method Details
-
searchForAvailablePlanChildDependencies
@GET @Path("search/{projectKey : ([^-/]+)}-{buildKey}/child") public RestDependencies searchForAvailablePlanChildDependencies(@PathParam("projectKey") String projectKey, @PathParam("buildKey") String buildKey, @NotNull @QueryParam("searchTerm") @NotNull String searchTerm, @Context javax.ws.rs.core.UriInfo uriInfo) throws WebValidationException - Throws:
WebValidationException
-
searchForAvailablePlanParentDependencies
@GET @Path("search/{projectKey : ([^-/]+)}-{buildKey}/parent") public RestDependencies searchForAvailablePlanParentDependencies(@PathParam("projectKey") String projectKey, @PathParam("buildKey") String buildKey, @NotNull @QueryParam("searchTerm") @NotNull String searchTerm, @Context javax.ws.rs.core.UriInfo uriInfo) throws WebValidationException - Throws:
WebValidationException
-