public static class WatchConfig.Accessor extends Object
Modifier and Type | Method and Description |
---|---|
void |
deleteAllProjectWatches(com.google.gerrit.reviewdb.client.Account.Id accountId) |
void |
deleteProjectWatches(com.google.gerrit.reviewdb.client.Account.Id accountId,
Collection<WatchConfig.ProjectWatchKey> projectWatchKeys) |
Map<WatchConfig.ProjectWatchKey,Set<com.google.gerrit.reviewdb.client.AccountProjectWatch.NotifyType>> |
getProjectWatches(com.google.gerrit.reviewdb.client.Account.Id accountId) |
void |
upsertProjectWatches(com.google.gerrit.reviewdb.client.Account.Id accountId,
Map<WatchConfig.ProjectWatchKey,Set<com.google.gerrit.reviewdb.client.AccountProjectWatch.NotifyType>> newProjectWatches) |
public Map<WatchConfig.ProjectWatchKey,Set<com.google.gerrit.reviewdb.client.AccountProjectWatch.NotifyType>> getProjectWatches(com.google.gerrit.reviewdb.client.Account.Id accountId) throws IOException, org.eclipse.jgit.errors.ConfigInvalidException
IOException
org.eclipse.jgit.errors.ConfigInvalidException
public void upsertProjectWatches(com.google.gerrit.reviewdb.client.Account.Id accountId, Map<WatchConfig.ProjectWatchKey,Set<com.google.gerrit.reviewdb.client.AccountProjectWatch.NotifyType>> newProjectWatches) throws IOException, org.eclipse.jgit.errors.ConfigInvalidException
IOException
org.eclipse.jgit.errors.ConfigInvalidException
public void deleteProjectWatches(com.google.gerrit.reviewdb.client.Account.Id accountId, Collection<WatchConfig.ProjectWatchKey> projectWatchKeys) throws IOException, org.eclipse.jgit.errors.ConfigInvalidException
IOException
org.eclipse.jgit.errors.ConfigInvalidException
public void deleteAllProjectWatches(com.google.gerrit.reviewdb.client.Account.Id accountId) throws IOException, org.eclipse.jgit.errors.ConfigInvalidException
IOException
org.eclipse.jgit.errors.ConfigInvalidException