Package com.google.gerrit.server.account
Class WatchConfig.Accessor
- java.lang.Object
-
- com.google.gerrit.server.account.WatchConfig.Accessor
-
- Enclosing class:
- WatchConfig
public static class WatchConfig.Accessor extends Object
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
deleteAllProjectWatches(Account.Id accountId)
void
deleteProjectWatches(Account.Id accountId, Collection<WatchConfig.ProjectWatchKey> projectWatchKeys)
Map<WatchConfig.ProjectWatchKey,Set<WatchConfig.NotifyType>>
getProjectWatches(Account.Id accountId)
void
upsertProjectWatches(Account.Id accountId, Map<WatchConfig.ProjectWatchKey,Set<WatchConfig.NotifyType>> newProjectWatches)
-
-
-
Method Detail
-
getProjectWatches
public Map<WatchConfig.ProjectWatchKey,Set<WatchConfig.NotifyType>> getProjectWatches(Account.Id accountId) throws IOException, org.eclipse.jgit.errors.ConfigInvalidException
- Throws:
IOException
org.eclipse.jgit.errors.ConfigInvalidException
-
upsertProjectWatches
public void upsertProjectWatches(Account.Id accountId, Map<WatchConfig.ProjectWatchKey,Set<WatchConfig.NotifyType>> newProjectWatches) throws IOException, org.eclipse.jgit.errors.ConfigInvalidException
- Throws:
IOException
org.eclipse.jgit.errors.ConfigInvalidException
-
deleteProjectWatches
public void deleteProjectWatches(Account.Id accountId, Collection<WatchConfig.ProjectWatchKey> projectWatchKeys) throws IOException, org.eclipse.jgit.errors.ConfigInvalidException
- Throws:
IOException
org.eclipse.jgit.errors.ConfigInvalidException
-
deleteAllProjectWatches
public void deleteAllProjectWatches(Account.Id accountId) throws IOException, org.eclipse.jgit.errors.ConfigInvalidException
- Throws:
IOException
org.eclipse.jgit.errors.ConfigInvalidException
-
-