Class VersionedMetaDataOnInit

java.lang.Object
com.google.gerrit.server.git.meta.VersionedMetaData
com.google.gerrit.pgm.init.api.VersionedMetaDataOnInit
Direct Known Subclasses:
AllProjectsConfig

public abstract class VersionedMetaDataOnInit extends VersionedMetaData
  • Field Details

    • project

      protected final String project
  • Constructor Details

  • Method Details

    • getRefName

      protected String getRefName()
      Description copied from class: VersionedMetaData
      Returns name of the reference storing this configuration.
      Specified by:
      getRefName in class VersionedMetaData
    • load

      public VersionedMetaDataOnInit load() throws IOException, org.eclipse.jgit.errors.ConfigInvalidException
      Throws:
      IOException
      org.eclipse.jgit.errors.ConfigInvalidException
    • save

      public void save(String message) throws IOException, org.eclipse.jgit.errors.ConfigInvalidException
      Throws:
      IOException
      org.eclipse.jgit.errors.ConfigInvalidException
    • save

      protected void save(org.eclipse.jgit.lib.PersonIdent ident, String msg) throws IOException, org.eclipse.jgit.errors.ConfigInvalidException
      Throws:
      IOException
      org.eclipse.jgit.errors.ConfigInvalidException