Package com.google.gerrit.pgm.init.api
Class AllProjectsConfig
java.lang.Object
com.google.gerrit.server.git.meta.VersionedMetaData
com.google.gerrit.pgm.init.api.VersionedMetaDataOnInit
com.google.gerrit.pgm.init.api.AllProjectsConfig
- 
Nested Class SummaryNested classes/interfaces inherited from class com.google.gerrit.server.git.meta.VersionedMetaDataVersionedMetaData.BatchMetaDataUpdate, VersionedMetaData.PathInfo
- 
Field SummaryFields inherited from class com.google.gerrit.pgm.init.api.VersionedMetaDataOnInitprojectFields inherited from class com.google.gerrit.server.git.meta.VersionedMetaDatainserter, newTree, projectName, reader, revision, rw
- 
Method SummaryMethods inherited from class com.google.gerrit.pgm.init.api.VersionedMetaDataOnInitgetRefName, saveMethods inherited from class com.google.gerrit.server.git.meta.VersionedMetaDatacommit, commit, commitToNewRef, getObjectId, getPathInfos, getRevision, load, load, load, load, load, openUpdate, openUpdate, readConfig, readConfig, readFile, readTree, readUTF8, saveConfig, saveFile, saveUTF8, set, set, set
- 
Method Details- 
getConfigpublic org.eclipse.jgit.lib.Config getConfig()
- 
getGroups
- 
load- Overrides:
- loadin class- VersionedMetaDataOnInit
- Throws:
- IOException
- org.eclipse.jgit.errors.ConfigInvalidException
 
- 
onLoadDescription copied from class:VersionedMetaDataSet up the metadata, parsing any state from the loaded revision.- Specified by:
- onLoadin class- VersionedMetaData
- Throws:
- IOException
- org.eclipse.jgit.errors.ConfigInvalidException
 
- 
savepublic void save(String pluginName, 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 - Overrides:
- savein class- VersionedMetaDataOnInit
- Throws:
- IOException
- org.eclipse.jgit.errors.ConfigInvalidException
 
- 
onSaveprotected boolean onSave(org.eclipse.jgit.lib.CommitBuilder commit) throws IOException, org.eclipse.jgit.errors.ConfigInvalidException Description copied from class:VersionedMetaDataSave any changes to the metadata in a commit.- Specified by:
- onSavein class- VersionedMetaData
- Returns:
- true if the commit should proceed, false to abort.
- Throws:
- IOException
- org.eclipse.jgit.errors.ConfigInvalidException
 
 
-