Package com.google.gerrit.pgm.init.api
Class VersionedMetaDataOnInit
- java.lang.Object
- 
- com.google.gerrit.server.git.meta.VersionedMetaData
- 
- com.google.gerrit.pgm.init.api.VersionedMetaDataOnInit
 
 
- 
- Direct Known Subclasses:
- AllProjectsConfig
 
 public abstract class VersionedMetaDataOnInit extends VersionedMetaData 
- 
- 
Nested Class Summary- 
Nested classes/interfaces inherited from class com.google.gerrit.server.git.meta.VersionedMetaDataVersionedMetaData.BatchMetaDataUpdate, VersionedMetaData.PathInfo
 
- 
 - 
Field SummaryFields Modifier and Type Field Description protected Stringproject- 
Fields inherited from class com.google.gerrit.server.git.meta.VersionedMetaDatainserter, newTree, projectName, reader, revision, rw
 
- 
 - 
Constructor SummaryConstructors Modifier Constructor Description protectedVersionedMetaDataOnInit(InitFlags flags, SitePaths site, String project, String ref)
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description protected StringgetRefName()VersionedMetaDataOnInitload()voidsave(String message)protected voidsave(org.eclipse.jgit.lib.PersonIdent ident, String msg)- 
Methods inherited from class com.google.gerrit.server.git.meta.VersionedMetaDatacommit, commitToNewRef, getObjectId, getPathInfos, getRevision, load, load, load, load, load, onLoad, onSave, openUpdate, readConfig, readConfig, readFile, readTree, readUTF8, saveConfig, saveFile, saveUTF8, set, set, set
 
- 
 
- 
- 
- 
Field Detail- 
projectprotected final String project 
 
- 
 - 
Method Detail- 
getRefNameprotected String getRefName() - Specified by:
- getRefNamein class- VersionedMetaData
- Returns:
- name of the reference storing this configuration.
 
 - 
loadpublic VersionedMetaDataOnInit load() throws IOException, org.eclipse.jgit.errors.ConfigInvalidException - Throws:
- IOException
- org.eclipse.jgit.errors.ConfigInvalidException
 
 - 
savepublic void save(String message) throws IOException, org.eclipse.jgit.errors.ConfigInvalidException - Throws:
- IOException
- org.eclipse.jgit.errors.ConfigInvalidException
 
 - 
saveprotected void save(org.eclipse.jgit.lib.PersonIdent ident, String msg) throws IOException, org.eclipse.jgit.errors.ConfigInvalidException- Throws:
- IOException
- org.eclipse.jgit.errors.ConfigInvalidException
 
 
- 
 
-