Class Projects.NotImplemented
- java.lang.Object
- 
- com.google.gerrit.extensions.api.projects.Projects.NotImplemented
 
- 
- 
Nested Class Summary- 
Nested classes/interfaces inherited from interface com.google.gerrit.extensions.api.projects.ProjectsProjects.ListRequest, Projects.NotImplemented, Projects.QueryRequest
 
- 
 - 
Constructor SummaryConstructors Constructor Description NotImplemented()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description ProjectApicreate(ProjectInput in)Create a project.ProjectApicreate(String name)Create a project using the default configuration.Projects.ListRequestlist()ProjectApiname(String name)Look up a project by name.Projects.QueryRequestquery()Query projects.Projects.QueryRequestquery(String query)Query projects.
 
- 
- 
- 
Method Detail- 
namepublic ProjectApi name(String name) throws RestApiException Description copied from interface:ProjectsLook up a project by name.Note: This method eagerly reads the project. Methods that mutate the project do not necessarily re-read the project. 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 ProjectApiinstances.- Specified by:
- namein interface- Projects
- Parameters:
- name- project name.
- Returns:
- API for accessing the project.
- Throws:
- RestApiException- if an error occurred.
 
 - 
createpublic ProjectApi create(ProjectInput in) throws RestApiException Description copied from interface:ProjectsCreate a project.- Specified by:
- createin interface- Projects
- Parameters:
- in- project creation input; name must be set.
- Returns:
- API for accessing the newly-created project.
- Throws:
- RestApiException- if an error occurred.
 
 - 
createpublic ProjectApi create(String name) throws RestApiException Description copied from interface:ProjectsCreate a project using the default configuration.- Specified by:
- createin interface- Projects
- Parameters:
- name- project name.
- Returns:
- API for accessing the newly-created project.
- Throws:
- RestApiException- if an error occurred.
 
 - 
listpublic Projects.ListRequest list() 
 - 
querypublic Projects.QueryRequest query() Description copied from interface:ProjectsQuery projects.Example code: query().withQuery("name:project").get()
 - 
querypublic Projects.QueryRequest query(String query) Description copied from interface:ProjectsQuery projects.Shortcut API for query().withQuery(String).- Specified by:
- queryin interface- Projects
- See Also:
- Projects.query()
 
 
- 
 
-