public static class ProjectApi.NotImplemented extends java.lang.Object implements ProjectApi
ProjectApi.ListDashboardsRequest, ProjectApi.ListRefsRequest<T extends RefInfo>, ProjectApi.NotImplemented| Constructor and Description |
|---|
NotImplemented() |
| Modifier and Type | Method and Description |
|---|---|
ProjectAccessInfo |
access() |
ProjectAccessInfo |
access(ProjectAccessInput p) |
ChangeInfo |
accessChange(ProjectAccessInput input) |
BranchApi |
branch(java.lang.String ref)
Look up a branch by refname.
|
ProjectApi.ListRefsRequest<BranchInfo> |
branches() |
CheckProjectResultInfo |
check(CheckProjectInput in) |
AccessCheckInfo |
checkAccess(AccessCheckInput in) |
ChildProjectApi |
child(java.lang.String name) |
java.util.List<ProjectInfo> |
children() |
java.util.List<ProjectInfo> |
children(boolean recursive) |
java.util.List<ProjectInfo> |
children(int limit) |
CommitApi |
commit(java.lang.String commit)
Lookup a commit by its
ObjectId string. |
ConfigInfo |
config() |
ConfigInfo |
config(ConfigInput in) |
ProjectApi |
create() |
ProjectApi |
create(ProjectInput in) |
DashboardApi |
dashboard(java.lang.String name)
Lookup a dashboard by its name.
|
ProjectApi.ListDashboardsRequest |
dashboards() |
DashboardApi |
defaultDashboard()
Get the project's default dashboard.
|
void |
defaultDashboard(java.lang.String name)
Set the project's default dashboard.
|
void |
deleteBranches(DeleteBranchesInput in) |
void |
deleteTags(DeleteTagsInput in) |
java.lang.String |
description() |
void |
description(DescriptionInput in) |
ProjectInfo |
get() |
java.lang.String |
head()
Get the name of the branch to which
HEAD points. |
void |
head(java.lang.String head)
Set the project's
HEAD. |
void |
index(boolean indexChildren)
Reindex the project and children in case
indexChildren is specified. |
java.lang.String |
parent()
Get the name of the project's parent.
|
void |
parent(java.lang.String parent)
Set the project's parent.
|
void |
removeDefaultDashboard()
Remove the project's default dashboard.
|
TagApi |
tag(java.lang.String ref)
Look up a tag by refname.
|
ProjectApi.ListRefsRequest<TagInfo> |
tags() |
public ProjectApi create() throws RestApiException
create in interface ProjectApiRestApiExceptionpublic ProjectApi create(ProjectInput in) throws RestApiException
create in interface ProjectApiRestApiExceptionpublic ProjectInfo get() throws RestApiException
get in interface ProjectApiRestApiExceptionpublic java.lang.String description()
throws RestApiException
description in interface ProjectApiRestApiExceptionpublic ProjectAccessInfo access() throws RestApiException
access in interface ProjectApiRestApiExceptionpublic ProjectAccessInfo access(ProjectAccessInput p) throws RestApiException
access in interface ProjectApiRestApiExceptionpublic ChangeInfo accessChange(ProjectAccessInput input) throws RestApiException
accessChange in interface ProjectApiRestApiExceptionpublic AccessCheckInfo checkAccess(AccessCheckInput in) throws RestApiException
checkAccess in interface ProjectApiRestApiExceptionpublic CheckProjectResultInfo check(CheckProjectInput in) throws RestApiException
check in interface ProjectApiRestApiExceptionpublic ConfigInfo config() throws RestApiException
config in interface ProjectApiRestApiExceptionpublic ConfigInfo config(ConfigInput in) throws RestApiException
config in interface ProjectApiRestApiExceptionpublic void description(DescriptionInput in) throws RestApiException
description in interface ProjectApiRestApiExceptionpublic ProjectApi.ListRefsRequest<BranchInfo> branches()
branches in interface ProjectApipublic ProjectApi.ListRefsRequest<TagInfo> tags()
tags in interface ProjectApipublic java.util.List<ProjectInfo> children() throws RestApiException
children in interface ProjectApiRestApiExceptionpublic java.util.List<ProjectInfo> children(boolean recursive) throws RestApiException
children in interface ProjectApiRestApiExceptionpublic java.util.List<ProjectInfo> children(int limit) throws RestApiException
children in interface ProjectApiRestApiExceptionpublic ChildProjectApi child(java.lang.String name) throws RestApiException
child in interface ProjectApiRestApiExceptionpublic BranchApi branch(java.lang.String ref) throws RestApiException
ProjectApiNote: 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.
branch in interface ProjectApiref - branch name, with or without "refs/heads/" prefix.RestApiException - if a problem occurred reading the project.public TagApi tag(java.lang.String ref) throws RestApiException
ProjectApitag in interface ProjectApiref - tag name, with or without "refs/tags/" prefix.RestApiException - if a problem occurred reading the project.public void deleteBranches(DeleteBranchesInput in) throws RestApiException
deleteBranches in interface ProjectApiRestApiExceptionpublic void deleteTags(DeleteTagsInput in) throws RestApiException
deleteTags in interface ProjectApiRestApiExceptionpublic CommitApi commit(java.lang.String commit) throws RestApiException
ProjectApiObjectId string.commit in interface ProjectApicommit - the ObjectId string.RestApiExceptionpublic DashboardApi dashboard(java.lang.String name) throws RestApiException
ProjectApidashboard in interface ProjectApiname - the name.RestApiExceptionpublic DashboardApi defaultDashboard() throws RestApiException
ProjectApidefaultDashboard in interface ProjectApiRestApiExceptionpublic ProjectApi.ListDashboardsRequest dashboards() throws RestApiException
dashboards in interface ProjectApiRestApiExceptionpublic void defaultDashboard(java.lang.String name)
throws RestApiException
ProjectApidefaultDashboard in interface ProjectApiname - the dashboard to set as default.RestApiExceptionpublic void removeDefaultDashboard()
throws RestApiException
ProjectApiremoveDefaultDashboard in interface ProjectApiRestApiExceptionpublic java.lang.String head()
throws RestApiException
ProjectApiHEAD points.head in interface ProjectApiRestApiExceptionpublic void head(java.lang.String head)
throws RestApiException
ProjectApiHEAD.head in interface ProjectApihead - the HEADRestApiExceptionpublic java.lang.String parent()
throws RestApiException
ProjectApiparent in interface ProjectApiRestApiExceptionpublic void parent(java.lang.String parent)
throws RestApiException
ProjectApiparent in interface ProjectApiparent - the parentRestApiExceptionpublic void index(boolean indexChildren)
throws RestApiException
ProjectApiindexChildren is specified.index in interface ProjectApiindexChildren - decides if children should be indexed recursivelyRestApiException