Expose PatchSetParser utility class to be used from plugins

Plugins can offer similar SSH commands like `gerrit review` and should
be able to re-use this core facility to parse COMMIT | CHANGE,PATCHSET
arguments.

Change-Id: I076466d7ae413bd63e149b77ccba32a1f24ed7a6
This commit is contained in:
David Ostrovsky
2016-01-22 08:39:32 +01:00
parent b249606122
commit 29101927ba

View File

@@ -34,7 +34,7 @@ import java.util.ArrayList;
import java.util.List;
@Singleton
class PatchSetParser {
public class PatchSetParser {
private final Provider<ReviewDb> db;
private final Provider<InternalChangeQuery> queryProvider;
private final ChangeNotes.Factory notesFactory;