public class ProjectLevelConfig extends VersionedMetaData
VersionedMetaData.BatchMetaDataUpdate, VersionedMetaData.PathInfoinserter, newTree, projectName, reader, revision, rw| Constructor and Description | 
|---|
ProjectLevelConfig(java.lang.String fileName,
                  ProjectState project)  | 
| Modifier and Type | Method and Description | 
|---|---|
org.eclipse.jgit.lib.Config | 
get()  | 
protected java.lang.String | 
getRefName()  | 
org.eclipse.jgit.lib.Config | 
getWithInheritance()  | 
org.eclipse.jgit.lib.Config | 
getWithInheritance(boolean merge)
Get a Config that includes the values from all parent projects. 
 | 
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. 
 | 
commit, commitToNewRef, getObjectId, getPathInfos, getRevision, load, load, load, load, load, openUpdate, readConfig, readFile, readTree, readUTF8, saveConfig, saveFile, saveUTF8, set, set, setpublic ProjectLevelConfig(java.lang.String fileName,
                          ProjectState project)
protected java.lang.String getRefName()
getRefName in class VersionedMetaDataprotected void onLoad()
               throws java.io.IOException,
                      org.eclipse.jgit.errors.ConfigInvalidException
VersionedMetaDataonLoad in class VersionedMetaDatajava.io.IOExceptionorg.eclipse.jgit.errors.ConfigInvalidExceptionpublic org.eclipse.jgit.lib.Config get()
public org.eclipse.jgit.lib.Config getWithInheritance()
public org.eclipse.jgit.lib.Config getWithInheritance(boolean merge)
Merging means that matching sections/subsection will be merged to include the values from both parent and child config.
No merging means that matching sections/subsections in the child project will replace the corresponding value from the parent.
merge - whether to merge parent values with child values or not.protected boolean onSave(org.eclipse.jgit.lib.CommitBuilder commit)
                  throws java.io.IOException,
                         org.eclipse.jgit.errors.ConfigInvalidException
VersionedMetaDataonSave in class VersionedMetaDatajava.io.IOExceptionorg.eclipse.jgit.errors.ConfigInvalidException