Package com.google.gerrit.entities
Class ImmutableConfig
java.lang.Object
com.google.gerrit.entities.ImmutableConfig
Immutable parsed representation of a
Config
that can be cached.
Supports only a limited set of operations.-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionboolean
SeeConfig.getNames(String)
SeeConfig.getNames(String, String)
SeeConfig.getSections()
String[]
getStringList
(String section, String subsection, String name) SeeConfig.getStringList(String, String, String)
getSubsections
(String section) SeeConfig.getSubsections(String)
int
hashCode()
org.eclipse.jgit.lib.Config
Returns a mutable copy of this config.static ImmutableConfig
-
Field Details
-
EMPTY
-
-
Method Details
-
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
SeeConfig.getSections()
-
getNames
SeeConfig.getNames(String)
-
getNames
SeeConfig.getNames(String, String)
-
getStringList
SeeConfig.getStringList(String, String, String)
-
getSubsections
SeeConfig.getSubsections(String)
-
equals
-
hashCode
public int hashCode()
-