Class SuggestReviewers
- java.lang.Object
-
- com.google.gerrit.server.restapi.change.SuggestReviewers
-
- Direct Known Subclasses:
SuggestChangeReviewers
public class SuggestReviewers extends Object
-
-
Field Summary
Fields Modifier and Type Field Description protected int
limit
protected int
maxSuggestedReviewers
protected String
query
protected ReviewersUtil
reviewersUtil
protected boolean
skipServiceUsers
-
Constructor Summary
Constructors Constructor Description SuggestReviewers(AccountVisibility av, org.eclipse.jgit.lib.Config cfg, ReviewersUtil reviewersUtil)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static GerritConfigListener
configListener()
int
getLimit()
int
getMaxAllowed()
int
getMaxAllowedWithoutConfirmation()
String
getQuery()
boolean
getSuggestAccounts()
boolean
isSkipServiceUsers()
void
setLimit(int l)
void
setQuery(String q)
-
-
-
Field Detail
-
reviewersUtil
protected final ReviewersUtil reviewersUtil
-
limit
protected int limit
-
query
protected String query
-
maxSuggestedReviewers
protected final int maxSuggestedReviewers
-
skipServiceUsers
protected boolean skipServiceUsers
-
-
Constructor Detail
-
SuggestReviewers
@Inject public SuggestReviewers(AccountVisibility av, org.eclipse.jgit.lib.Config cfg, ReviewersUtil reviewersUtil)
-
-
Method Detail
-
setLimit
public void setLimit(int l)
-
setQuery
public void setQuery(String q)
-
getQuery
public String getQuery()
-
getSuggestAccounts
public boolean getSuggestAccounts()
-
getLimit
public int getLimit()
-
getMaxAllowed
public int getMaxAllowed()
-
getMaxAllowedWithoutConfirmation
public int getMaxAllowedWithoutConfirmation()
-
isSkipServiceUsers
public boolean isSkipServiceUsers()
-
configListener
public static GerritConfigListener configListener()
-
-