Interface ProjectApi
- 
- All Known Implementing Classes:
- ProjectApi.NotImplemented,- ProjectApiImpl
 
 public interface ProjectApi
- 
- 
Nested Class SummaryNested Classes Modifier and Type Interface Description static classProjectApi.ListDashboardsRequeststatic classProjectApi.ListRefsRequest<T extends RefInfo>static classProjectApi.NotImplementedA default implementation which allows source compatibility when adding new methods to the interface.
 - 
Method Summary
 
- 
- 
- 
Method Detail- 
createProjectApi create() throws RestApiException - Throws:
- RestApiException
 
 - 
createProjectApi create(ProjectInput in) throws RestApiException - Throws:
- RestApiException
 
 - 
getProjectInfo get() throws RestApiException - Throws:
- RestApiException
 
 - 
descriptionString description() throws RestApiException - Throws:
- RestApiException
 
 - 
descriptionvoid description(DescriptionInput in) throws RestApiException - Throws:
- RestApiException
 
 - 
accessProjectAccessInfo access() throws RestApiException - Throws:
- RestApiException
 
 - 
accessProjectAccessInfo access(ProjectAccessInput p) throws RestApiException - Throws:
- RestApiException
 
 - 
accessChangeChangeInfo accessChange(ProjectAccessInput p) throws RestApiException - Throws:
- RestApiException
 
 - 
checkAccessAccessCheckInfo checkAccess(AccessCheckInput in) throws RestApiException - Throws:
- RestApiException
 
 - 
configConfigInfo config() throws RestApiException - Throws:
- RestApiException
 
 - 
configConfigInfo config(ConfigInput in) throws RestApiException - Throws:
- RestApiException
 
 - 
branchesProjectApi.ListRefsRequest<BranchInfo> branches() 
 - 
tagsProjectApi.ListRefsRequest<TagInfo> tags() 
 - 
deleteBranchesvoid deleteBranches(DeleteBranchesInput in) throws RestApiException - Throws:
- RestApiException
 
 - 
deleteTagsvoid deleteTags(DeleteTagsInput in) throws RestApiException - Throws:
- RestApiException
 
 - 
childrenList<ProjectInfo> children() throws RestApiException - Throws:
- RestApiException
 
 - 
childrenList<ProjectInfo> children(boolean recursive) throws RestApiException - Throws:
- RestApiException
 
 - 
childChildProjectApi child(String name) throws RestApiException - Throws:
- RestApiException
 
 - 
branchBranchApi branch(String ref) throws RestApiException Look up a branch by refname.Note: This method eagerly reads the branch. Methods that mutate the branch do not necessarily re-read the branch. Therefore, calling a getter method on an instance after calling a mutation method on that same instance is not guaranteed to reflect the mutation. It is not recommended to store references to BranchApiinstances.- Parameters:
- ref- branch name, with or without "refs/heads/" prefix.
- Returns:
- API for accessing the branch.
- Throws:
- RestApiException- if a problem occurred reading the project.
 
 - 
tagTagApi tag(String ref) throws RestApiException Look up a tag by refname.- Parameters:
- ref- tag name, with or without "refs/tags/" prefix.
- Returns:
- API for accessing the tag.
- Throws:
- RestApiException- if a problem occurred reading the project.
 
 - 
commitCommitApi commit(String commit) throws RestApiException Lookup a commit by itsObjectIdstring.- Parameters:
- commit- the- ObjectIdstring.
- Returns:
- API for accessing the commit.
- Throws:
- RestApiException
 
 - 
dashboardDashboardApi dashboard(String name) throws RestApiException Lookup a dashboard by its name.- Parameters:
- name- the name.
- Returns:
- API for accessing the dashboard.
- Throws:
- RestApiException
 
 - 
defaultDashboardDashboardApi defaultDashboard() throws RestApiException Get the project's default dashboard.- Returns:
- API for accessing the dashboard.
- Throws:
- RestApiException
 
 - 
defaultDashboardvoid defaultDashboard(String name) throws RestApiException Set the project's default dashboard.- Parameters:
- name- the dashboard to set as default.
- Throws:
- RestApiException
 
 - 
removeDefaultDashboardvoid removeDefaultDashboard() throws RestApiExceptionRemove the project's default dashboard.- Throws:
- RestApiException
 
 - 
dashboardsProjectApi.ListDashboardsRequest dashboards() throws RestApiException - Throws:
- RestApiException
 
 - 
headString head() throws RestApiException Get the name of the branch to whichHEADpoints.- Throws:
- RestApiException
 
 - 
headvoid head(String head) throws RestApiException Set the project'sHEAD.- Parameters:
- head- the HEAD
- Throws:
- RestApiException
 
 
- 
 
-