Package com.google.gerrit.server.change
Class DownloadCommandsJson
java.lang.Object
com.google.gerrit.server.change.DownloadCommandsJson
Populates the
FetchInfo
which is serialized to JSON afterwards.-
Method Summary
Modifier and TypeMethodDescriptionstatic void
populateFetchMap
(DownloadScheme scheme, DynamicMap<DownloadCommand> commands, String projectName, String refName, FetchInfo fetchInfo) Populates the providedFetchInfo
by calling allDownloadCommand
extensions.
-
Method Details
-
populateFetchMap
public static void populateFetchMap(DownloadScheme scheme, DynamicMap<DownloadCommand> commands, String projectName, String refName, FetchInfo fetchInfo) Populates the providedFetchInfo
by calling allDownloadCommand
extensions. Will mutateFetchInfo.commands
.
-