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 ProjectApi
RestApiException
public ProjectApi create(ProjectInput in) throws RestApiException
create
in interface ProjectApi
RestApiException
public ProjectInfo get() throws RestApiException
get
in interface ProjectApi
RestApiException
public java.lang.String description() throws RestApiException
description
in interface ProjectApi
RestApiException
public ProjectAccessInfo access() throws RestApiException
access
in interface ProjectApi
RestApiException
public ProjectAccessInfo access(ProjectAccessInput p) throws RestApiException
access
in interface ProjectApi
RestApiException
public ChangeInfo accessChange(ProjectAccessInput input) throws RestApiException
accessChange
in interface ProjectApi
RestApiException
public AccessCheckInfo checkAccess(AccessCheckInput in) throws RestApiException
checkAccess
in interface ProjectApi
RestApiException
public CheckProjectResultInfo check(CheckProjectInput in) throws RestApiException
check
in interface ProjectApi
RestApiException
public ConfigInfo config() throws RestApiException
config
in interface ProjectApi
RestApiException
public ConfigInfo config(ConfigInput in) throws RestApiException
config
in interface ProjectApi
RestApiException
public void description(DescriptionInput in) throws RestApiException
description
in interface ProjectApi
RestApiException
public ProjectApi.ListRefsRequest<BranchInfo> branches()
branches
in interface ProjectApi
public ProjectApi.ListRefsRequest<TagInfo> tags()
tags
in interface ProjectApi
public java.util.List<ProjectInfo> children() throws RestApiException
children
in interface ProjectApi
RestApiException
public java.util.List<ProjectInfo> children(boolean recursive) throws RestApiException
children
in interface ProjectApi
RestApiException
public java.util.List<ProjectInfo> children(int limit) throws RestApiException
children
in interface ProjectApi
RestApiException
public ChildProjectApi child(java.lang.String name) throws RestApiException
child
in interface ProjectApi
RestApiException
public BranchApi branch(java.lang.String ref) throws RestApiException
ProjectApi
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.
branch
in interface ProjectApi
ref
- 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
ProjectApi
tag
in interface ProjectApi
ref
- 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 ProjectApi
RestApiException
public void deleteTags(DeleteTagsInput in) throws RestApiException
deleteTags
in interface ProjectApi
RestApiException
public CommitApi commit(java.lang.String commit) throws RestApiException
ProjectApi
ObjectId
string.commit
in interface ProjectApi
commit
- the ObjectId
string.RestApiException
public DashboardApi dashboard(java.lang.String name) throws RestApiException
ProjectApi
dashboard
in interface ProjectApi
name
- the name.RestApiException
public DashboardApi defaultDashboard() throws RestApiException
ProjectApi
defaultDashboard
in interface ProjectApi
RestApiException
public ProjectApi.ListDashboardsRequest dashboards() throws RestApiException
dashboards
in interface ProjectApi
RestApiException
public void defaultDashboard(java.lang.String name) throws RestApiException
ProjectApi
defaultDashboard
in interface ProjectApi
name
- the dashboard to set as default.RestApiException
public void removeDefaultDashboard() throws RestApiException
ProjectApi
removeDefaultDashboard
in interface ProjectApi
RestApiException
public java.lang.String head() throws RestApiException
ProjectApi
HEAD
points.head
in interface ProjectApi
RestApiException
public void head(java.lang.String head) throws RestApiException
ProjectApi
HEAD
.head
in interface ProjectApi
head
- the HEADRestApiException
public java.lang.String parent() throws RestApiException
ProjectApi
parent
in interface ProjectApi
RestApiException
public void parent(java.lang.String parent) throws RestApiException
ProjectApi
parent
in interface ProjectApi
parent
- the parentRestApiException
public void index(boolean indexChildren) throws RestApiException
ProjectApi
indexChildren
is specified.index
in interface ProjectApi
indexChildren
- decides if children should be indexed recursivelyRestApiException