Class Projects.ListRequest
- java.lang.Object
-
- com.google.gerrit.extensions.api.projects.Projects.ListRequest
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classProjects.ListRequest.FilterType
-
Constructor Summary
Constructors Constructor Description ListRequest()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description Projects.ListRequestaddShowBranch(String branch)List<ProjectInfo>get()abstract SortedMap<String,ProjectInfo>getAsMap()List<String>getBranches()booleangetDescription()Projects.ListRequest.FilterTypegetFilterType()intgetLimit()StringgetPrefix()StringgetRegex()booleangetShowTree()intgetStart()ProjectStategetState()StringgetSubstring()booleanisAll()Projects.ListRequestwithAll(boolean all)Projects.ListRequestwithDescription(boolean description)Projects.ListRequestwithLimit(int limit)Projects.ListRequestwithPrefix(String prefix)Projects.ListRequestwithRegex(String regex)Projects.ListRequestwithStart(int start)Projects.ListRequestwithState(ProjectState state)Projects.ListRequestwithSubstring(String substring)Projects.ListRequestwithTree(boolean show)Projects.ListRequestwithType(Projects.ListRequest.FilterType type)
-
-
-
Method Detail
-
get
public List<ProjectInfo> get() throws RestApiException
- Throws:
RestApiException
-
getAsMap
public abstract SortedMap<String,ProjectInfo> getAsMap() throws RestApiException
- Throws:
RestApiException
-
withDescription
public Projects.ListRequest withDescription(boolean description)
-
withPrefix
public Projects.ListRequest withPrefix(String prefix)
-
withSubstring
public Projects.ListRequest withSubstring(String substring)
-
withRegex
public Projects.ListRequest withRegex(String regex)
-
withLimit
public Projects.ListRequest withLimit(int limit)
-
withStart
public Projects.ListRequest withStart(int start)
-
addShowBranch
public Projects.ListRequest addShowBranch(String branch)
-
withTree
public Projects.ListRequest withTree(boolean show)
-
withType
public Projects.ListRequest withType(Projects.ListRequest.FilterType type)
-
withAll
public Projects.ListRequest withAll(boolean all)
-
withState
public Projects.ListRequest withState(ProjectState state)
-
getDescription
public boolean getDescription()
-
getPrefix
public String getPrefix()
-
getSubstring
public String getSubstring()
-
getRegex
public String getRegex()
-
getLimit
public int getLimit()
-
getStart
public int getStart()
-
getShowTree
public boolean getShowTree()
-
getFilterType
public Projects.ListRequest.FilterType getFilterType()
-
isAll
public boolean isAll()
-
getState
public ProjectState getState()
-
-