public class ProjectConfigSchemaUpdate extends VersionedMetaData
VersionedMetaData.BatchMetaDataUpdate, VersionedMetaData.PathInfoinserter, newTree, reader, revision| Modifier and Type | Method and Description |
|---|---|
protected String |
getRefName() |
boolean |
isUpdated() |
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.
|
static ProjectConfigSchemaUpdate |
read(MetaDataUpdate update) |
void |
removeForceFromPermission(String name) |
void |
save(org.eclipse.jgit.lib.PersonIdent personIdent,
String commitMessage) |
commit, commitToNewRef, getObjectId, getPathInfos, getRevision, load, load, load, load, load, openUpdate, readConfig, readFile, readTree, readUTF8, saveConfig, saveFile, saveUTF8, set, set, setpublic static ProjectConfigSchemaUpdate read(MetaDataUpdate update) throws IOException, org.eclipse.jgit.errors.ConfigInvalidException
IOExceptionorg.eclipse.jgit.errors.ConfigInvalidExceptionprotected String getRefName()
getRefName in class VersionedMetaDataprotected void onLoad()
throws IOException,
org.eclipse.jgit.errors.ConfigInvalidException
VersionedMetaDataonLoad in class VersionedMetaDataIOExceptionorg.eclipse.jgit.errors.ConfigInvalidExceptionpublic void removeForceFromPermission(String name)
protected boolean onSave(org.eclipse.jgit.lib.CommitBuilder commit)
throws IOException,
org.eclipse.jgit.errors.ConfigInvalidException
VersionedMetaDataonSave in class VersionedMetaDataIOExceptionorg.eclipse.jgit.errors.ConfigInvalidExceptionpublic void save(org.eclipse.jgit.lib.PersonIdent personIdent,
String commitMessage)
throws com.google.gwtorm.server.OrmException
com.google.gwtorm.server.OrmExceptionpublic boolean isUpdated()