Class ImmutableConfig


  • public class ImmutableConfig
    extends Object
    Immutable parsed representation of a Config that can be cached. Supports only a limited set of operations.
    • Method Detail

      • parse

        public static ImmutableConfig parse​(String stringCfg)
                                     throws org.eclipse.jgit.errors.ConfigInvalidException
        Throws:
        org.eclipse.jgit.errors.ConfigInvalidException
      • mutableCopy

        public org.eclipse.jgit.lib.Config mutableCopy()
        Returns a mutable copy of this config.
      • getSections

        public Set<String> getSections()
        See Config.getSections()
      • getNames

        public Set<String> getNames​(String section)
        See Config.getNames(String)
      • getNames

        public Set<String> getNames​(String section,
                                    String subsection)
        See Config.getNames(String, String)
      • getStringList

        public String[] getStringList​(String section,
                                      String subsection,
                                      String name)
        See Config.getStringList(String, String, String)
      • getSubsections

        public Set<String> getSubsections​(String section)
        See Config.getSubsections(String)
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object