public static class WatchConfig.Accessor
extends java.lang.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,
java.util.Collection<WatchConfig.ProjectWatchKey> projectWatchKeys) |
java.util.Map<WatchConfig.ProjectWatchKey,java.util.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,
java.util.Map<WatchConfig.ProjectWatchKey,java.util.Set<com.google.gerrit.reviewdb.client.AccountProjectWatch.NotifyType>> newProjectWatches) |
public java.util.Map<WatchConfig.ProjectWatchKey,java.util.Set<com.google.gerrit.reviewdb.client.AccountProjectWatch.NotifyType>> getProjectWatches(com.google.gerrit.reviewdb.client.Account.Id accountId) throws java.io.IOException, org.eclipse.jgit.errors.ConfigInvalidException
java.io.IOException
org.eclipse.jgit.errors.ConfigInvalidException
public void upsertProjectWatches(com.google.gerrit.reviewdb.client.Account.Id accountId, java.util.Map<WatchConfig.ProjectWatchKey,java.util.Set<com.google.gerrit.reviewdb.client.AccountProjectWatch.NotifyType>> newProjectWatches) throws java.io.IOException, org.eclipse.jgit.errors.ConfigInvalidException
java.io.IOException
org.eclipse.jgit.errors.ConfigInvalidException
public void deleteProjectWatches(com.google.gerrit.reviewdb.client.Account.Id accountId, java.util.Collection<WatchConfig.ProjectWatchKey> projectWatchKeys) throws java.io.IOException, org.eclipse.jgit.errors.ConfigInvalidException
java.io.IOException
org.eclipse.jgit.errors.ConfigInvalidException
public void deleteAllProjectWatches(com.google.gerrit.reviewdb.client.Account.Id accountId) throws java.io.IOException, org.eclipse.jgit.errors.ConfigInvalidException
java.io.IOException
org.eclipse.jgit.errors.ConfigInvalidException