public interface ProjectApi
| Modifier and Type | Interface and Description |
|---|---|
static class |
ProjectApi.ListDashboardsRequest |
static class |
ProjectApi.ListRefsRequest<T extends RefInfo> |
static class |
ProjectApi.NotImplemented
A default implementation which allows source compatibility when adding new methods to the
interface.
|
ProjectApi create() throws RestApiException
RestApiExceptionProjectApi create(ProjectInput in) throws RestApiException
RestApiExceptionProjectInfo get() throws RestApiException
RestApiExceptionjava.lang.String description()
throws RestApiException
RestApiExceptionvoid description(DescriptionInput in) throws RestApiException
RestApiExceptionProjectAccessInfo access() throws RestApiException
RestApiExceptionProjectAccessInfo access(ProjectAccessInput p) throws RestApiException
RestApiExceptionChangeInfo accessChange(ProjectAccessInput p) throws RestApiException
RestApiExceptionAccessCheckInfo checkAccess(AccessCheckInput in) throws RestApiException
RestApiExceptionConfigInfo config() throws RestApiException
RestApiExceptionConfigInfo config(ConfigInput in) throws RestApiException
RestApiExceptionProjectApi.ListRefsRequest<BranchInfo> branches()
ProjectApi.ListRefsRequest<TagInfo> tags()
void deleteBranches(DeleteBranchesInput in) throws RestApiException
RestApiExceptionvoid deleteTags(DeleteTagsInput in) throws RestApiException
RestApiExceptionjava.util.List<ProjectInfo> children() throws RestApiException
RestApiExceptionjava.util.List<ProjectInfo> children(boolean recursive) throws RestApiException
RestApiExceptionChildProjectApi child(java.lang.String name) throws RestApiException
RestApiExceptionBranchApi branch(java.lang.String ref) throws RestApiException
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 BranchApi instances.
ref - branch name, with or without "refs/heads/" prefix.RestApiException - if a problem occurred reading the project.TagApi tag(java.lang.String ref) throws RestApiException
ref - tag name, with or without "refs/tags/" prefix.RestApiException - if a problem occurred reading the project.CommitApi commit(java.lang.String commit) throws RestApiException
ObjectId string.commit - the ObjectId string.RestApiExceptionDashboardApi dashboard(java.lang.String name) throws RestApiException
name - the name.RestApiExceptionDashboardApi defaultDashboard() throws RestApiException
RestApiExceptionvoid defaultDashboard(java.lang.String name)
throws RestApiException
name - the dashboard to set as default.RestApiExceptionvoid removeDefaultDashboard()
throws RestApiException
RestApiExceptionProjectApi.ListDashboardsRequest dashboards() throws RestApiException
RestApiException