public class ProjectApiImpl extends Object implements ProjectApi
ProjectApi.ListRefsRequest<T extends RefInfo>, ProjectApi.NotImplemented| Modifier and Type | Method and Description |
|---|---|
ProjectAccessInfo |
access() |
ProjectAccessInfo |
access(ProjectAccessInput p) |
BranchApi |
branch(String ref)
Look up a branch by refname.
|
ProjectApi.ListRefsRequest<BranchInfo> |
branches() |
ChildProjectApi |
child(String name) |
List<ProjectInfo> |
children() |
List<ProjectInfo> |
children(boolean recursive) |
ConfigInfo |
config() |
ConfigInfo |
config(ConfigInput in) |
ProjectApi |
create() |
ProjectApi |
create(ProjectInput in) |
void |
deleteBranches(DeleteBranchesInput in) |
void |
deleteTags(DeleteTagsInput in) |
String |
description() |
void |
description(DescriptionInput in) |
ProjectInfo |
get() |
TagApi |
tag(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 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 void description(DescriptionInput in) throws RestApiException
description in interface ProjectApiRestApiExceptionpublic ConfigInfo config() throws RestApiException
config in interface ProjectApiRestApiExceptionpublic ConfigInfo config(ConfigInput in) throws RestApiException
config in interface ProjectApiRestApiExceptionpublic ProjectApi.ListRefsRequest<BranchInfo> branches()
branches in interface ProjectApipublic ProjectApi.ListRefsRequest<TagInfo> tags()
tags in interface ProjectApipublic List<ProjectInfo> children() throws RestApiException
children in interface ProjectApiRestApiExceptionpublic List<ProjectInfo> children(boolean recursive) throws RestApiException
children in interface ProjectApiRestApiExceptionpublic ChildProjectApi child(String name) throws RestApiException
child in interface ProjectApiRestApiExceptionpublic BranchApi branch(String ref) throws ResourceNotFoundException
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.ResourceNotFoundExceptionpublic TagApi tag(String ref) throws ResourceNotFoundException
ProjectApitag in interface ProjectApiref - tag name, with or without "refs/tags/" prefix.ResourceNotFoundExceptionpublic void deleteBranches(DeleteBranchesInput in) throws RestApiException
deleteBranches in interface ProjectApiRestApiExceptionpublic void deleteTags(DeleteTagsInput in) throws RestApiException
deleteTags in interface ProjectApiRestApiException