Uses of Class
org.eclipse.jgit.lib.Config
-
Packages that use Config Package Description org.eclipse.jgit.api High-level API commands (the porcelain of JGit).org.eclipse.jgit.diff Comparing file contents by computing diffs.org.eclipse.jgit.dircache Reading and editing the directory cache (index).org.eclipse.jgit.http.server.resolver org.eclipse.jgit.internal.storage.dfs Distributed file system based repository storage.org.eclipse.jgit.internal.storage.file File based repository storage.org.eclipse.jgit.internal.storage.reftable org.eclipse.jgit.junit org.eclipse.jgit.lib Core API for repository, config, refs, object database.org.eclipse.jgit.merge Content and commit history merge algorithms.org.eclipse.jgit.storage.file org.eclipse.jgit.storage.pack org.eclipse.jgit.submodule Git submodule support.org.eclipse.jgit.transport Transport (fetch/push) for different protocols.org.eclipse.jgit.treewalk Walking and comparing directory/file trees (of commits, file system).org.eclipse.jgit.util Utility classes. -
-
Uses of Config in org.eclipse.jgit.api
Methods in org.eclipse.jgit.api with parameters of type Config Modifier and Type Method Description static BranchConfig.BranchRebaseMode
PullCommand. getRebaseMode(java.lang.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 Config Modifier and Type Method Description void
DiffFormatter. setReader(ObjectReader reader, Config cfg)
Set the repository the formatter can load object contents from.private void
DiffFormatter. setReader(ObjectReader reader, Config cfg, boolean closeReader)
Constructors in org.eclipse.jgit.diff with parameters of type Config Constructor Description DiffConfig(Config rc)
-
Uses of Config in org.eclipse.jgit.dircache
Constructors in org.eclipse.jgit.dircache with parameters of type Config Constructor Description DirCacheConfig(Config cfg)
-
Uses of Config in org.eclipse.jgit.http.server.resolver
Constructors in org.eclipse.jgit.http.server.resolver with parameters of type Config Constructor Description ServiceConfig(Config cfg)
ServiceConfig(Config cfg)
ServiceConfig(Config cfg)
-
Uses of Config in org.eclipse.jgit.internal.storage.dfs
Subclasses of Config in org.eclipse.jgit.internal.storage.dfs Modifier and Type Class Description class
DfsConfig
Config implementation used by DFS repositories.Methods in org.eclipse.jgit.internal.storage.dfs with parameters of type Config Modifier and Type Method Description DfsBlockCacheConfig
DfsBlockCacheConfig. fromConfig(Config rc)
Update properties by setting fields from the configuration.DfsReaderOptions
DfsReaderOptions. fromConfig(Config rc)
Update properties by setting fields from the configuration. -
Uses of Config in org.eclipse.jgit.internal.storage.file
Fields in org.eclipse.jgit.internal.storage.file declared as Config Modifier and Type Field Description private Config
ObjectDirectory. config
private Config
PackDirectory. config
Fields in org.eclipse.jgit.internal.storage.file with type parameters of type Config Modifier and Type Field Description private java.util.function.Supplier<Config>
FileReftableStack. configSupplier
Methods in org.eclipse.jgit.internal.storage.file that return Config Modifier and Type Method Description (package private) Config
CachedObjectDirectory. getConfig()
(package private) abstract Config
FileObjectDatabase. getConfig()
(package private) Config
ObjectDirectory. getConfig()
Constructors in org.eclipse.jgit.internal.storage.file with parameters of type Config Constructor Description ObjectDirectory(Config cfg, java.io.File dir, java.io.File[] alternatePaths, FS fs, java.io.File shallowFile)
Initialize a reference to an on-disk object directory.ObjectDirectoryInserter(FileObjectDatabase dest, Config cfg)
PackDirectory(Config config, java.io.File directory)
Initialize a reference to an on-disk 'pack' directory.WriteConfig(Config rc)
Constructor parameters in org.eclipse.jgit.internal.storage.file with type arguments of type Config Constructor Description FileReftableStack(java.io.File stackPath, java.io.File reftableDir, java.lang.Runnable onChange, java.util.function.Supplier<Config> configSupplier)
Creates a stack corresponding to the list of reftables in the argument -
Uses of Config in org.eclipse.jgit.internal.storage.reftable
Methods in org.eclipse.jgit.internal.storage.reftable with parameters of type Config Modifier and Type Method Description void
ReftableConfig. fromConfig(Config rc)
Update properties by setting fields from the configuration.Constructors in org.eclipse.jgit.internal.storage.reftable with parameters of type Config Constructor Description ReftableConfig(Config cfg)
Create a configuration honoring settings in aConfig
. -
Uses of Config in org.eclipse.jgit.junit
Subclasses of Config in org.eclipse.jgit.junit Modifier and Type Class Description private static class
MockSystemReader.MockConfig
Methods in org.eclipse.jgit.junit with parameters of type Config Modifier and Type Method Description FileBasedConfig
MockSystemReader. openJGitConfig(Config parent, FS fs)
FileBasedConfig
MockSystemReader. openSystemConfig(Config parent, FS fs)
Open the gitconfig configuration found in the system-wide "etc" directory.FileBasedConfig
MockSystemReader. openUserConfig(Config parent, FS fs)
Open the git configuration found in the user home. -
Uses of Config in org.eclipse.jgit.lib
Subclasses of Config in org.eclipse.jgit.lib Modifier and Type Class Description class
BlobBasedConfig
Configuration file based on the blobs stored in the repository.class
StoredConfig
Persistent configuration that can be stored and loaded from a location.Fields in org.eclipse.jgit.lib declared as Config Modifier and Type Field Description private Config
Config. baseConfig
private Config
BaseRepositoryBuilder. config
Configuration file of target repository, lazily loaded if required.private Config
BranchConfig. config
Methods in org.eclipse.jgit.lib that return Config Modifier and Type Method Description Config
Config. 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 Config Modifier and Type Method Description RepositoryCacheConfig
RepositoryCacheConfig. fromConfig(Config config)
Update properties by setting fields from the configuration.boolean
DefaultTypedConfigGetter. getBoolean(Config config, java.lang.String section, java.lang.String subsection, java.lang.String name, boolean defaultValue)
Get a boolean value from a gitConfig
.boolean
TypedConfigGetter. getBoolean(Config config, java.lang.String section, java.lang.String subsection, java.lang.String name, boolean defaultValue)
Get a boolean value from a gitConfig
.private static java.lang.String
UserConfig. getEmailInternal(Config rc, java.lang.String envKey)
<T extends java.lang.Enum<?>>
TDefaultTypedConfigGetter. getEnum(Config config, T[] all, java.lang.String section, java.lang.String subsection, java.lang.String name, T defaultValue)
Parse an enumeration from a gitConfig
.<T extends java.lang.Enum<?>>
TTypedConfigGetter. getEnum(Config config, T[] all, java.lang.String section, java.lang.String subsection, java.lang.String name, T defaultValue)
Parse an enumeration from a gitConfig
.int
DefaultTypedConfigGetter. getInt(Config config, java.lang.String section, java.lang.String subsection, java.lang.String name, int defaultValue)
Obtain an integer value from a gitConfig
.int
TypedConfigGetter. getInt(Config config, java.lang.String section, java.lang.String subsection, java.lang.String name, int defaultValue)
Obtain an integer value from a gitConfig
.long
DefaultTypedConfigGetter. getLong(Config config, java.lang.String section, java.lang.String subsection, java.lang.String name, long defaultValue)
Obtain a long value from a gitConfig
.long
TypedConfigGetter. getLong(Config config, java.lang.String section, java.lang.String subsection, java.lang.String name, long defaultValue)
Obtain a long value from a gitConfig
.private static java.lang.String
UserConfig. getNameInternal(Config rc, java.lang.String envKey)
default java.nio.file.Path
TypedConfigGetter. getPath(Config config, java.lang.String section, java.lang.String subsection, java.lang.String name, FS fs, java.io.File resolveAgainst, java.nio.file.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.java.util.List<RefSpec>
DefaultTypedConfigGetter. getRefSpecs(Config config, java.lang.String section, java.lang.String subsection, java.lang.String name)
java.util.List<RefSpec>
TypedConfigGetter. getRefSpecs(Config config, java.lang.String section, java.lang.String subsection, java.lang.String name)
long
DefaultTypedConfigGetter. getTimeUnit(Config config, java.lang.String section, java.lang.String subsection, java.lang.String name, long defaultValue, java.util.concurrent.TimeUnit wantUnit)
Parse a numerical time unit, such as "1 minute", from a gitConfig
.long
TypedConfigGetter. getTimeUnit(Config config, java.lang.String section, java.lang.String subsection, java.lang.String name, long defaultValue, java.util.concurrent.TimeUnit wantUnit)
Parse a numerical time unit, such as "1 minute", from a gitConfig
.T
Config.SectionParser. parse(Config cfg)
Create a model object from a configuration.Constructors in org.eclipse.jgit.lib with parameters of type Config Constructor Description BlobBasedConfig(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, java.lang.String path)
Load a configuration file from a blob stored in a specific commit.BranchConfig(Config config, java.lang.String branchName)
Create a new branch config, which will read configuration from config about specified branch.Config(Config defaultConfig)
Create an empty configuration with a fallback for missing keys.CoreConfig(Config rc)
GpgConfig(Config config)
Create a new GPG config that reads the configuration from config.StoredConfig(Config defaultConfig)
Create an empty configuration with a fallback for missing keys.UserConfig(Config rc)
-
Uses of Config in org.eclipse.jgit.merge
Methods in org.eclipse.jgit.merge with parameters of type Config Modifier and Type Method Description private static MergeCommand.FastForwardMode
MergeConfig. getFastForwardMode(Config config, java.lang.String[] mergeOptions)
private static int
ResolveMerger. getInCoreLimit(Config config)
private static MergeAlgorithm
ResolveMerger. getMergeAlgorithm(Config config)
private static java.lang.String[]
MergeConfig. getMergeOptions(java.lang.String branch, Config config)
abstract Merger
MergeStrategy. newMerger(ObjectInserter inserter, Config config)
Create a new merge instance.Merger
StrategyOneSided. newMerger(ObjectInserter inserter, Config config)
Create a new merge instance.ThreeWayMerger
StrategyRecursive. newMerger(ObjectInserter inserter, Config config)
Create a new merge instance.ThreeWayMerger
StrategyResolve. newMerger(ObjectInserter inserter, Config config)
Create a new merge instance.ThreeWayMerger
StrategySimpleTwoWayInCore. newMerger(ObjectInserter inserter, Config config)
Create a new merge instance.MergeConfig
MergeConfig.MergeConfigSectionParser. parse(Config cfg)
Constructors in org.eclipse.jgit.merge with parameters of type Config Constructor Description MergeConfig(java.lang.String branch, Config config)
RecursiveMerger(ObjectInserter inserter, Config config)
Normal recursive merge, implies inCore.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.file Modifier and Type Class Description class
FileBasedConfig
The configuration file that is stored in the file of the file system.Methods in org.eclipse.jgit.storage.file with parameters of type Config Modifier and Type Method Description WindowCacheConfig
WindowCacheConfig. fromConfig(Config rc)
Update properties by setting fields from the configuration.Constructors in org.eclipse.jgit.storage.file with parameters of type Config Constructor Description FileBasedConfig(Config base, java.io.File cfgLocation, FS fs)
The constructor -
Uses of Config in org.eclipse.jgit.storage.pack
Methods in org.eclipse.jgit.storage.pack with parameters of type Config Modifier and Type Method Description void
PackConfig. fromConfig(Config rc)
Update properties by setting fields from the configuration.Constructors in org.eclipse.jgit.storage.pack with parameters of type Config Constructor Description PackConfig(Config cfg)
Create a configuration honoring settings in aConfig
. -
Uses of Config in org.eclipse.jgit.submodule
Fields in org.eclipse.jgit.submodule declared as Config Modifier and Type Field Description private Config
SubmoduleWalk. modulesConfig
Methods in org.eclipse.jgit.submodule with parameters of type Config Modifier and Type Method Description SubmoduleWalk
SubmoduleWalk. 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 Config Modifier and Type Method Description static java.util.List<RemoteConfig>
RemoteConfig. getAllRemoteConfigs(Config rc)
Parse all remote blocks in an existing configuration file, looking for remotes configuration.private java.util.Map<java.lang.String,java.lang.String>
RemoteConfig. getReplacements(Config config, java.lang.String keyName)
private void
HttpConfig. init(Config config, URIish uri)
private void
RemoteConfig. set(Config rc, java.lang.String key, boolean currentValue, boolean defaultValue)
private void
RemoteConfig. set(Config rc, java.lang.String key, int currentValue, int defaultValue)
private void
RemoteConfig. set(Config rc, java.lang.String key, java.lang.String currentValue, java.lang.String defaultValue)
private void
RemoteConfig. unset(Config rc, java.lang.String key)
void
RemoteConfig. update(Config rc)
Update this remote's definition within the configuration.Constructors in org.eclipse.jgit.transport with parameters of type Config Constructor Description FetchConfig(Config c)
HttpConfig(Config config, URIish uri)
Creates a newHttpConfig
tailored to the givenURIish
.ReceiveConfig(Config config)
RemoteConfig(Config rc, java.lang.String remoteName)
Parse a remote block from an existing configuration file.ServiceConfig(DaemonService service, Config cfg, java.lang.String name)
SignedPushConfig(Config cfg)
TransferConfig(Config rc)
Create a configuration honoring settings in aConfig
. -
Uses of Config in org.eclipse.jgit.treewalk
Fields in org.eclipse.jgit.treewalk declared as Config Modifier and Type Field Description private Config
TreeWalk. config
Constructors in org.eclipse.jgit.treewalk with parameters of type Config Constructor Description WorkingTreeOptions(Config rc)
-
Uses of Config in org.eclipse.jgit.util
Methods in org.eclipse.jgit.util with parameters of type Config Modifier and Type Method Description FileBasedConfig
SystemReader.Default. openJGitConfig(Config parent, FS fs)
abstract FileBasedConfig
SystemReader. openJGitConfig(Config parent, FS fs)
Open the jgit configuration located at $XDG_CONFIG_HOME/jgit/config.FileBasedConfig
SystemReader.Default. openSystemConfig(Config parent, FS fs)
abstract FileBasedConfig
SystemReader. openSystemConfig(Config parent, FS fs)
Open the gitconfig configuration found in the system-wide "etc" directory.FileBasedConfig
SystemReader.Default. openUserConfig(Config parent, FS fs)
abstract FileBasedConfig
SystemReader. openUserConfig(Config parent, FS fs)
Open the git configuration found in the user home.private void
SystemReader. updateAll(Config config)
Update config and its parents if they seem modified
-