Package org.gitlab4j.api
Class Constants.ProjectSearchScope<T>
- java.lang.Object
-
- org.gitlab4j.api.Constants.ProjectSearchScope<T>
-
- Enclosing interface:
- Constants
public static class Constants.ProjectSearchScope<T> extends java.lang.ObjectEnum for the search scope when doing a projectSearch() with the SearchApi.
-
-
Field Summary
Fields Modifier and Type Field Description static Constants.ProjectSearchScope<SearchBlob>BLOBSstatic Constants.ProjectSearchScope<Commit>COMMITSstatic Constants.ProjectSearchScope<Issue>ISSUESstatic Constants.ProjectSearchScope<MergeRequest>MERGE_REQUESTSstatic Constants.ProjectSearchScope<Milestone>MILESTONESstatic Constants.ProjectSearchScope<Note>NOTESstatic Constants.ProjectSearchScope<User>USERSstatic Constants.ProjectSearchScope<SearchBlob>WIKI_BLOBS
-
Constructor Summary
Constructors Constructor Description ProjectSearchScope(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.ProjectSearchScope<T>forValue(java.lang.String value)java.lang.Class<T>getResultType()java.lang.StringtoString()java.lang.StringtoValue()
-
-
-
Field Detail
-
BLOBS
public static final Constants.ProjectSearchScope<SearchBlob> BLOBS
-
COMMITS
public static final Constants.ProjectSearchScope<Commit> COMMITS
-
ISSUES
public static final Constants.ProjectSearchScope<Issue> ISSUES
-
MERGE_REQUESTS
public static final Constants.ProjectSearchScope<MergeRequest> MERGE_REQUESTS
-
MILESTONES
public static final Constants.ProjectSearchScope<Milestone> MILESTONES
-
NOTES
public static final Constants.ProjectSearchScope<Note> NOTES
-
WIKI_BLOBS
public static final Constants.ProjectSearchScope<SearchBlob> WIKI_BLOBS
-
USERS
public static final Constants.ProjectSearchScope<User> USERS
-
-
Constructor Detail
-
ProjectSearchScope
public ProjectSearchScope(java.lang.String jsonName, java.lang.Class<T> resultType)
-
-
Method Detail
-
getResultType
public java.lang.Class<T> getResultType()
-
forValue
public static <T> Constants.ProjectSearchScope<T> forValue(java.lang.String value)
-
toValue
public java.lang.String toValue()
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-