public class AllProjectsConfig extends VersionedMetaDataOnInit
VersionedMetaData.BatchMetaDataUpdate, VersionedMetaData.PathInfo
project
inserter, newTree, projectName, reader, revision, rw
Modifier and Type | Method and Description |
---|---|
org.eclipse.jgit.lib.Config |
getConfig() |
GroupList |
getGroups() |
AllProjectsConfig |
load() |
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.
|
protected void |
save(org.eclipse.jgit.lib.PersonIdent ident,
java.lang.String msg) |
void |
save(java.lang.String pluginName,
java.lang.String message) |
getRefName, save
commit, commitToNewRef, getObjectId, getPathInfos, getRevision, load, load, load, load, load, openUpdate, readConfig, readConfig, readFile, readTree, readUTF8, saveConfig, saveFile, saveUTF8, set, set, set
public org.eclipse.jgit.lib.Config getConfig()
public GroupList getGroups()
public AllProjectsConfig load() throws java.io.IOException, org.eclipse.jgit.errors.ConfigInvalidException
load
in class VersionedMetaDataOnInit
java.io.IOException
org.eclipse.jgit.errors.ConfigInvalidException
protected void onLoad() throws java.io.IOException, org.eclipse.jgit.errors.ConfigInvalidException
VersionedMetaData
onLoad
in class VersionedMetaData
java.io.IOException
org.eclipse.jgit.errors.ConfigInvalidException
public void save(java.lang.String pluginName, java.lang.String message) throws java.io.IOException, org.eclipse.jgit.errors.ConfigInvalidException
java.io.IOException
org.eclipse.jgit.errors.ConfigInvalidException
protected void save(org.eclipse.jgit.lib.PersonIdent ident, java.lang.String msg) throws java.io.IOException, org.eclipse.jgit.errors.ConfigInvalidException
save
in class VersionedMetaDataOnInit
java.io.IOException
org.eclipse.jgit.errors.ConfigInvalidException
protected boolean onSave(org.eclipse.jgit.lib.CommitBuilder commit) throws java.io.IOException, org.eclipse.jgit.errors.ConfigInvalidException
VersionedMetaData
onSave
in class VersionedMetaData
java.io.IOException
org.eclipse.jgit.errors.ConfigInvalidException