public static class WatchConfig.Accessor extends Object
Modifier and Type | Method and 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) |
public Map<WatchConfig.ProjectWatchKey,Set<WatchConfig.NotifyType>> getProjectWatches(Account.Id accountId) throws IOException, org.eclipse.jgit.errors.ConfigInvalidException
IOException
org.eclipse.jgit.errors.ConfigInvalidException
public void upsertProjectWatches(Account.Id accountId, Map<WatchConfig.ProjectWatchKey,Set<WatchConfig.NotifyType>> newProjectWatches) throws IOException, org.eclipse.jgit.errors.ConfigInvalidException
IOException
org.eclipse.jgit.errors.ConfigInvalidException
public void deleteProjectWatches(Account.Id accountId, Collection<WatchConfig.ProjectWatchKey> projectWatchKeys) throws IOException, org.eclipse.jgit.errors.ConfigInvalidException
IOException
org.eclipse.jgit.errors.ConfigInvalidException
public void deleteAllProjectWatches(Account.Id accountId) throws IOException, org.eclipse.jgit.errors.ConfigInvalidException
IOException
org.eclipse.jgit.errors.ConfigInvalidException