public class VersionedAccountDestinations extends VersionedMetaData
VersionedMetaData.BatchMetaDataUpdate, VersionedMetaData.PathInfo
inserter, newTree, reader, revision
Modifier and Type | Method and Description |
---|---|
ValidationError.Sink |
createSink(String file) |
static VersionedAccountDestinations |
forUser(com.google.gerrit.reviewdb.client.Account.Id id) |
DestinationList |
getDestinationList() |
protected String |
getRefName() |
protected void |
onLoad()
Set up the metadata, parsing any state from the loaded revision.
|
protected boolean |
onSave(org.eclipse.jgit.lib.CommitBuilder commit)
Save any changes to the metadata in a commit.
|
commit, commitToNewRef, getObjectId, getPathInfos, getRevision, load, load, load, load, load, openUpdate, readConfig, readFile, readTree, readUTF8, saveConfig, saveFile, saveUTF8, set, set, set
public static VersionedAccountDestinations forUser(com.google.gerrit.reviewdb.client.Account.Id id)
protected String getRefName()
getRefName
in class VersionedMetaData
public DestinationList getDestinationList()
protected void onLoad() throws IOException, org.eclipse.jgit.errors.ConfigInvalidException
VersionedMetaData
onLoad
in class VersionedMetaData
IOException
org.eclipse.jgit.errors.ConfigInvalidException
public ValidationError.Sink createSink(String file)
protected boolean onSave(org.eclipse.jgit.lib.CommitBuilder commit) throws IOException, org.eclipse.jgit.errors.ConfigInvalidException
VersionedMetaData
onSave
in class VersionedMetaData
IOException
org.eclipse.jgit.errors.ConfigInvalidException