public static class ProjectApi.NotImplemented extends Object implements ProjectApi
ProjectApi.ListDashboardsRequest, ProjectApi.ListRefsRequest<T extends RefInfo>, ProjectApi.NotImplemented
Constructor and Description |
---|
NotImplemented() |
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 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 List<ProjectInfo> children() throws RestApiException
children
in interface ProjectApi
RestApiException
public List<ProjectInfo> children(boolean recursive) throws RestApiException
children
in interface ProjectApi
RestApiException
public List<ProjectInfo> children(int limit) throws RestApiException
children
in interface ProjectApi
RestApiException
public ChildProjectApi child(String name) throws RestApiException
child
in interface ProjectApi
RestApiException
public BranchApi branch(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(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(String commit) throws RestApiException
ProjectApi
ObjectId
string.commit
in interface ProjectApi
commit
- the ObjectId
string.RestApiException
public DashboardApi dashboard(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(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 String head() throws RestApiException
ProjectApi
HEAD
points.head
in interface ProjectApi
RestApiException
public void head(String head) throws RestApiException
ProjectApi
HEAD
.head
in interface ProjectApi
head
- the HEADRestApiException
public String parent() throws RestApiException
ProjectApi
parent
in interface ProjectApi
RestApiException
public void parent(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