public class ProjectApiPart extends ApiPart<Project> implements ProjectApi
Constructor and Description |
---|
ProjectApiPart(ParentApiPart parent) |
Modifier and Type | Method and Description |
---|---|
RetrieveUpdateDeleteApi<Component> |
component(String idOrName)
Retrieve, update, or delete a specific component.
|
QueryAndCreateApi<Component> |
components()
Query for all the components belonging to the specified project.
|
javax.ws.rs.client.WebTarget |
getWebTarget() |
ReleaseApi |
release(String idOrName)
Use a specific release.
|
QueryAndCreateApi<Release> |
releases()
Query for all the releases, no filtering.
|
create, delete, findOrCreate, get, getList, getParent, getSlickClient, getWebTargetForRequest, makeRequest, update
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
delete, get, update
public ProjectApiPart(ParentApiPart parent)
public javax.ws.rs.client.WebTarget getWebTarget() throws SlickError
getWebTarget
in interface ParentApiPart
getWebTarget
in class ApiPart<Project>
SlickError
public QueryAndCreateApi<Release> releases()
ProjectApi
releases
in interface ProjectApi
public ReleaseApi release(String idOrName)
ProjectApi
release
in interface ProjectApi
idOrName
- The id or name of the release.public QueryAndCreateApi<Component> components()
ProjectApi
components
in interface ProjectApi
public RetrieveUpdateDeleteApi<Component> component(String idOrName)
ProjectApi
component
in interface ProjectApi
idOrName
- the id or name of the component.Copyright © 2015. All rights reserved.