Uses of Class
org.eclipse.jgit.lib.Config
Packages that use Config
Package
Description
High-level API commands (the porcelain of JGit).
Comparing file contents by computing diffs.
Distributed file system based repository storage.
File based repository storage.
Core API for repository, config, refs, object database.
Content and commit history merge algorithms.
Git submodule support.
Transport (fetch/push) for different protocols.
Utility classes.
-
Uses of Config in org.eclipse.jgit.api
Methods in org.eclipse.jgit.api with parameters of type ConfigModifier and TypeMethodDescriptionPullCommand.getRebaseMode
(String branchName, Config config) Reads the rebase mode to use for a pull command from the repository configuration. -
Uses of Config in org.eclipse.jgit.diff
Methods in org.eclipse.jgit.diff with parameters of type ConfigModifier and TypeMethodDescriptionvoid
DiffFormatter.setReader
(ObjectReader reader, Config cfg) Set the repository the formatter can load object contents from. -
Uses of Config in org.eclipse.jgit.internal.storage.dfs
Subclasses of Config in org.eclipse.jgit.internal.storage.dfsModifier and TypeClassDescriptionfinal class
Config implementation used by DFS repositories.Methods in org.eclipse.jgit.internal.storage.dfs with parameters of type ConfigModifier and TypeMethodDescriptionDfsBlockCacheConfig.fromConfig
(Config rc) Update properties by setting fields from the configuration.DfsReaderOptions.fromConfig
(Config rc) Update properties by setting fields from the configuration. -
Uses of Config in org.eclipse.jgit.internal.storage.file
Constructors in org.eclipse.jgit.internal.storage.file with parameters of type ConfigModifierConstructorDescriptionInitialize a reference to an on-disk object directory.Construct a reader for an existing, pre-indexed packfile.Constructor parameters in org.eclipse.jgit.internal.storage.file with type arguments of type Config -
Uses of Config in org.eclipse.jgit.internal.storage.reftable
Methods in org.eclipse.jgit.internal.storage.reftable with parameters of type ConfigModifier and TypeMethodDescriptionvoid
ReftableConfig.fromConfig
(Config rc) Update properties by setting fields from the configuration.Constructors in org.eclipse.jgit.internal.storage.reftable with parameters of type ConfigModifierConstructorDescriptionReftableConfig
(Config cfg) Create a configuration honoring settings in aConfig
. -
Uses of Config in org.eclipse.jgit.lib
Subclasses of Config in org.eclipse.jgit.libModifier and TypeClassDescriptionclass
Configuration file based on the blobs stored in the repository.class
Persistent configuration that can be stored and loaded from a location.Methods in org.eclipse.jgit.lib that return ConfigModifier and TypeMethodDescriptionConfig.getBaseConfig()
Retrieves this config's base config.protected Config
BaseRepositoryBuilder.getConfig()
Get the cached repository configuration, loading if not yet available.protected Config
BaseRepositoryBuilder.loadConfig()
Parse and load the repository specific configuration.Methods in org.eclipse.jgit.lib with parameters of type ConfigModifier and TypeMethodDescriptionRepositoryCacheConfig.fromConfig
(Config config) Update properties by setting fields from the configuration.boolean
DefaultTypedConfigGetter.getBoolean
(Config config, String section, String subsection, String name, boolean defaultValue) boolean
TypedConfigGetter.getBoolean
(Config config, String section, String subsection, String name, boolean defaultValue) Get a boolean value from a gitConfig
.<T extends Enum<?>>
TDefaultTypedConfigGetter.getEnum
(Config config, T[] all, String section, String subsection, String name, T defaultValue) <T extends Enum<?>>
TTypedConfigGetter.getEnum
(Config config, T[] all, String section, String subsection, String name, T defaultValue) Parse an enumeration from a gitConfig
.int
DefaultTypedConfigGetter.getInt
(Config config, String section, String subsection, String name, int defaultValue) int
TypedConfigGetter.getInt
(Config config, String section, String subsection, String name, int defaultValue) Obtain an integer value from a gitConfig
.int
DefaultTypedConfigGetter.getIntInRange
(Config config, String section, String subsection, String name, int minValue, int maxValue, int defaultValue) int
TypedConfigGetter.getIntInRange
(Config config, String section, String subsection, String name, int minValue, int maxValue, int defaultValue) Obtain an integer value from a gitConfig
which must be in given range.long
DefaultTypedConfigGetter.getLong
(Config config, String section, String subsection, String name, long defaultValue) long
TypedConfigGetter.getLong
(Config config, String section, String subsection, String name, long defaultValue) Obtain a long value from a gitConfig
.default Path
TypedConfigGetter.getPath
(Config config, String section, String subsection, String name, FS fs, File resolveAgainst, Path defaultValue) Parse a string value from a gitConfig
and treat it as a file path, replacing a ~/ prefix by the user's home directory.DefaultTypedConfigGetter.getRefSpecs
(Config config, String section, String subsection, String name) TypedConfigGetter.getRefSpecs
(Config config, String section, String subsection, String name) long
DefaultTypedConfigGetter.getTimeUnit
(Config config, String section, String subsection, String name, long defaultValue, TimeUnit wantUnit) long
TypedConfigGetter.getTimeUnit
(Config config, String section, String subsection, String name, long defaultValue, TimeUnit wantUnit) Parse a numerical time unit, such as "1 minute", from a gitConfig
.Create a model object from a configuration.Constructors in org.eclipse.jgit.lib with parameters of type ConfigModifierConstructorDescriptionBlobBasedConfig
(Config base, byte[] blob) Parse a configuration from a byte array.BlobBasedConfig
(Config base, Repository db, AnyObjectId objectId) Load a configuration file from a blob.BlobBasedConfig
(Config base, Repository db, AnyObjectId treeish, String path) Load a configuration file from a blob stored in a specific commit.BranchConfig
(Config config, String branchName) Create a new branch config, which will read configuration from config about specified branch.Create an empty configuration with a fallback for missing keys.Create a new GPG config that reads the configuration from config.StoredConfig
(Config defaultConfig) Create an empty configuration with a fallback for missing keys. -
Uses of Config in org.eclipse.jgit.merge
Methods in org.eclipse.jgit.merge with parameters of type ConfigModifier and TypeMethodDescriptionabstract Merger
MergeStrategy.newMerger
(ObjectInserter inserter, Config config) Create a new merge instance.StrategyOneSided.newMerger
(ObjectInserter inserter, Config config) StrategyRecursive.newMerger
(ObjectInserter inserter, Config config) StrategyResolve.newMerger
(ObjectInserter inserter, Config config) StrategySimpleTwoWayInCore.newMerger
(ObjectInserter inserter, Config config) Constructors in org.eclipse.jgit.merge with parameters of type ConfigModifierConstructorDescriptionprotected
RecursiveMerger
(ObjectInserter inserter, Config config) Normal recursive merge, implies inCore.protected
ResolveMerger
(ObjectInserter inserter, Config config) Constructor for ResolveMerger. -
Uses of Config in org.eclipse.jgit.storage.file
Subclasses of Config in org.eclipse.jgit.storage.fileModifier and TypeClassDescriptionclass
The configuration file that is stored in the file of the file system.class
User (global) git config based on two possible locations,~/.gitconfig
and$XDG_CONFIG_HOME/git/config
.Methods in org.eclipse.jgit.storage.file with parameters of type ConfigModifier and TypeMethodDescriptionWindowCacheConfig.fromConfig
(Config rc) Update properties by setting fields from the configuration.Constructors in org.eclipse.jgit.storage.file with parameters of type ConfigModifierConstructorDescriptionFileBasedConfig
(Config base, File cfgLocation, FS fs) The constructorUserConfigFile
(Config parent, File config, File xdgConfig, FS fileSystem) Creates a newUserConfigFile
. -
Uses of Config in org.eclipse.jgit.storage.pack
Methods in org.eclipse.jgit.storage.pack with parameters of type ConfigModifier and TypeMethodDescriptionvoid
PackConfig.fromConfig
(Config rc) Update properties by setting fields from the configuration.Constructors in org.eclipse.jgit.storage.pack with parameters of type ConfigModifierConstructorDescriptionPackConfig
(Config cfg) Create a configuration honoring settings in aConfig
. -
Uses of Config in org.eclipse.jgit.submodule
Methods in org.eclipse.jgit.submodule with parameters of type ConfigModifier and TypeMethodDescriptionSubmoduleWalk.setModulesConfig
(Config config) Set the config used by this walk. -
Uses of Config in org.eclipse.jgit.transport
Methods in org.eclipse.jgit.transport with parameters of type ConfigModifier and TypeMethodDescriptionstatic List<RemoteConfig>
RemoteConfig.getAllRemoteConfigs
(Config rc) Parse all remote blocks in an existing configuration file, looking for remotes configuration.void
Update this remote's definition within the configuration.Constructors in org.eclipse.jgit.transport with parameters of type ConfigModifierConstructorDescriptionHttpConfig
(Config config, URIish uri) Creates a newHttpConfig
tailored to the givenURIish
.PushConfig
(Config config) Creates a new instance.RemoteConfig
(Config rc, String remoteName) Parse a remote block from an existing configuration file.TransferConfig
(Config rc) Create a configuration honoring settings in aConfig
.Creates a newUrlConfig
instance. -
Uses of Config in org.eclipse.jgit.util
Methods in org.eclipse.jgit.util with parameters of type ConfigModifier and TypeMethodDescriptionabstract FileBasedConfig
SystemReader.openJGitConfig
(Config parent, FS fs) Open the jgit configuration located at $XDG_CONFIG_HOME/jgit/config.abstract FileBasedConfig
SystemReader.openSystemConfig
(Config parent, FS fs) Open the gitconfig configuration found in the system-wide "etc" directory.abstract FileBasedConfig
SystemReader.openUserConfig
(Config parent, FS fs) Open the git configuration found in the user home.