Package org.gitlab4j.models
Class Constants.GroupSearchScope<T>
- java.lang.Object
-
- org.gitlab4j.models.Constants.GroupSearchScope<T>
-
- Enclosing interface:
- Constants
public static class Constants.GroupSearchScope<T> extends java.lang.Object
Enum for the search scope when doing a groupSearch() with the SearchApi.
-
-
Field Summary
Fields Modifier and Type Field Description static Constants.GroupSearchScope<SearchBlob>
BLOBS
static Constants.GroupSearchScope<Commit>
COMMITS
static Constants.GroupSearchScope<Issue>
ISSUES
static Constants.GroupSearchScope<MergeRequest>
MERGE_REQUESTS
static Constants.GroupSearchScope<Milestone>
MILESTONES
static Constants.GroupSearchScope<Note>
NOTES
static Constants.GroupSearchScope<Project>
PROJECTS
static Constants.GroupSearchScope<User>
USERS
static Constants.GroupSearchScope<SearchBlob>
WIKI_BLOBS
-
Constructor Summary
Constructors Constructor Description GroupSearchScope(java.lang.String jsonName, java.lang.Class<T> resultType)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static <T> Constants.GroupSearchScope<T>
forValue(java.lang.String value)
java.lang.Class<T>
getResultType()
java.lang.String
toString()
java.lang.String
toValue()
static java.util.Set<java.lang.String>
values()
-
-
-
Field Detail
-
PROJECTS
public static final Constants.GroupSearchScope<Project> PROJECTS
-
ISSUES
public static final Constants.GroupSearchScope<Issue> ISSUES
-
MERGE_REQUESTS
public static final Constants.GroupSearchScope<MergeRequest> MERGE_REQUESTS
-
MILESTONES
public static final Constants.GroupSearchScope<Milestone> MILESTONES
-
WIKI_BLOBS
public static final Constants.GroupSearchScope<SearchBlob> WIKI_BLOBS
-
COMMITS
public static final Constants.GroupSearchScope<Commit> COMMITS
-
BLOBS
public static final Constants.GroupSearchScope<SearchBlob> BLOBS
-
NOTES
public static final Constants.GroupSearchScope<Note> NOTES
-
USERS
public static final Constants.GroupSearchScope<User> USERS
-
-
Constructor Detail
-
GroupSearchScope
public GroupSearchScope(java.lang.String jsonName, java.lang.Class<T> resultType)
-
-
Method Detail
-
getResultType
public java.lang.Class<T> getResultType()
-
forValue
public static <T> Constants.GroupSearchScope<T> forValue(java.lang.String value)
-
values
public static java.util.Set<java.lang.String> values()
-
toValue
public java.lang.String toValue()
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-