Package org.gitlab4j.models
Class Constants.SearchScope<T>
- java.lang.Object
-
- org.gitlab4j.models.Constants.SearchScope<T>
-
- Enclosing interface:
- Constants
public static class Constants.SearchScope<T> extends java.lang.Object
Enum for the search scope when doing a globalSearch() with the SearchApi.
-
-
Field Summary
Fields Modifier and Type Field Description static Constants.SearchScope<SearchBlob>
BLOBS
static Constants.SearchScope<Commit>
COMMITS
static Constants.SearchScope<Issue>
ISSUES
static Constants.SearchScope<MergeRequest>
MERGE_REQUESTS
static Constants.SearchScope<Milestone>
MILESTONES
static Constants.SearchScope<Project>
PROJECTS
static Constants.SearchScope<Snippet>
SNIPPET_BLOBS
static Constants.SearchScope<Snippet>
SNIPPET_TITLES
static Constants.SearchScope<User>
USERS
static Constants.SearchScope<SearchBlob>
WIKI_BLOBS
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static <T> Constants.SearchScope<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.SearchScope<Project> PROJECTS
-
ISSUES
public static final Constants.SearchScope<Issue> ISSUES
-
MERGE_REQUESTS
public static final Constants.SearchScope<MergeRequest> MERGE_REQUESTS
-
MILESTONES
public static final Constants.SearchScope<Milestone> MILESTONES
-
SNIPPET_TITLES
public static final Constants.SearchScope<Snippet> SNIPPET_TITLES
-
SNIPPET_BLOBS
public static final Constants.SearchScope<Snippet> SNIPPET_BLOBS
-
USERS
public static final Constants.SearchScope<User> USERS
-
BLOBS
public static final Constants.SearchScope<SearchBlob> BLOBS
-
COMMITS
public static final Constants.SearchScope<Commit> COMMITS
-
WIKI_BLOBS
public static final Constants.SearchScope<SearchBlob> WIKI_BLOBS
-
-
Method Detail
-
getResultType
public java.lang.Class<T> getResultType()
-
forValue
public static <T> Constants.SearchScope<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
-
-