Interface ProjectsRestService
- All Known Implementing Classes:
ProjectsRestServiceImpl
public interface ProjectsRestService
-
Method Summary
Modifier and TypeMethodDescriptionvoidassertBuildProjectExists(String projectKey) getBuildProjectByKey(String projectKey) getBuildProjects(@NotNull jakarta.ws.rs.core.UriInfo uriInfo) Get a list of build projects.getDeploymentProjects(@NotNull jakarta.ws.rs.core.UriInfo uriInfo) Get a list of deployment projects.
-
Method Details
-
assertBuildProjectExists
- Throws:
NotFoundException
-
getBuildProjectByKey
- Throws:
NotFoundException
-
getBuildProjects
Get a list of build projects. This method provides filtering using the following query params:searchTerm- if specified return only projects, which name contains specified term
permission- if specified return only projects that user has this specific permission for
- Parameters:
uriInfo-- Returns:
- Filtered list of build projects.
-
getDeploymentProjects
Get a list of deployment projects. This method provides filtering using the following query params:searchTerm- if specified return only projects, which name contains specified term
permission- if specified return only plans that user has this specific permission for
- Parameters:
uriInfo-- Returns:
- Filtered list of deployment projects.
-