public class ProjectConfigSchemaUpdate extends VersionedMetaData
VersionedMetaData.BatchMetaDataUpdate, VersionedMetaData.PathInfo
inserter, newTree, reader, revision
Modifier and Type | Method and Description |
---|---|
protected java.lang.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(java.lang.String name) |
void |
save(org.eclipse.jgit.lib.PersonIdent personIdent,
java.lang.String commitMessage) |
commit, commitToNewRef, getObjectId, getPathInfos, getRevision, load, load, load, load, load, openUpdate, readConfig, readFile, readTree, readUTF8, saveConfig, saveFile, saveUTF8, set, set, set
public static ProjectConfigSchemaUpdate read(MetaDataUpdate update) throws java.io.IOException, org.eclipse.jgit.errors.ConfigInvalidException
java.io.IOException
org.eclipse.jgit.errors.ConfigInvalidException
protected java.lang.String getRefName()
getRefName
in class VersionedMetaData
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 removeForceFromPermission(java.lang.String name)
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
public void save(org.eclipse.jgit.lib.PersonIdent personIdent, java.lang.String commitMessage) throws com.google.gwtorm.server.OrmException
com.google.gwtorm.server.OrmException
public boolean isUpdated()