Package com.google.gerrit.server.change
Class ChangeFinder
java.lang.Object
com.google.gerrit.server.change.ChangeFinder
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionDeprecated, for removal: This API element is subject to removal in a future version.this method is not reliable in Gerrit instances with imported changes, since multiple changes can have the same change number and make the `changeIdProjectCache` cache pointless.Find changes matching the given identifier.Find at most N changes matching the given identifier.static com.google.inject.Module
module()
-
Method Details
-
module
public static com.google.inject.Module module() -
findOne
-
find
Find changes matching the given identifier.- Parameters:
id
- change identifier.- Returns:
- possibly-empty list of notes for all matching changes; may or may not be visible.
-
find
Find at most N changes matching the given identifier.- Parameters:
id
- change identifier.queryLimit
- maximum number of changes to be returned- Returns:
- possibly-empty list of notes for all matching changes; may or may not be visible.
-
findOne
-
find
Deprecated, for removal: This API element is subject to removal in a future version.this method is not reliable in Gerrit instances with imported changes, since multiple changes can have the same change number and make the `changeIdProjectCache` cache pointless.
-