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.
Reading and editing the directory cache (index).
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.
Walking and comparing directory/file trees (of commits, file system).
Utility classes.
-
Uses of Config in org.eclipse.jgit.api
Methods in org.eclipse.jgit.api with parameters of type ConfigModifier and TypeMethodDescriptionprivate voidPushCommand.determineDefaultRefSpecs(Config config) private StringPushCommand.determineRemote(Config config, String remoteName) PullCommand.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 TypeMethodDescriptionvoidDiffFormatter.setReader(ObjectReader reader, Config cfg) Set the repository the formatter can load object contents from.private voidDiffFormatter.setReader(ObjectReader reader, Config cfg, boolean closeReader) Constructors in org.eclipse.jgit.diff with parameters of type Config -
Uses of Config in org.eclipse.jgit.dircache
Constructors in org.eclipse.jgit.dircache with parameters of type Config -
Uses of Config in org.eclipse.jgit.http.server.resolver
Constructors in org.eclipse.jgit.http.server.resolver with parameters of type ConfigModifierConstructorDescription(package private)ServiceConfig(Config cfg) (package private)ServiceConfig(Config cfg) (package private)ServiceConfig(Config cfg) -
Uses of Config in org.eclipse.jgit.internal.diffmergetool
Constructors in org.eclipse.jgit.internal.diffmergetool with parameters of type Config -
Uses of Config in org.eclipse.jgit.internal.storage.dfs
Subclasses of Config in org.eclipse.jgit.internal.storage.dfsModifier and TypeClassDescriptionfinal classConfig 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
Fields in org.eclipse.jgit.internal.storage.file declared as ConfigModifier and TypeFieldDescriptionprivate final ConfigObjectDirectory.configprivate final ConfigPackDirectory.configFields in org.eclipse.jgit.internal.storage.file with type parameters of type ConfigMethods in org.eclipse.jgit.internal.storage.file that return ConfigModifier and TypeMethodDescription(package private) ConfigCachedObjectDirectory.getConfig()(package private) abstract ConfigFileObjectDatabase.getConfig()(package private) ConfigObjectDirectory.getConfig()Constructors in org.eclipse.jgit.internal.storage.file with parameters of type ConfigModifierConstructorDescriptionInitialize a reference to an on-disk object directory.(package private)ObjectDirectoryInserter(FileObjectDatabase dest, Config cfg) (package private)PackDirectory(Config config, File directory) Initialize a reference to an on-disk 'pack' directory.privateWriteConfig(Config rc) 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 TypeMethodDescriptionvoidReftableConfig.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.lfs.internal
Fields in org.eclipse.jgit.lfs.internal declared as ConfigMethods in org.eclipse.jgit.lfs.internal that return ConfigModifier and TypeMethodDescriptionprivate ConfigLfsConfig.emptyConfig()Create an empty config as fallback to avoid null pointer checks.private ConfigLfsConfig.load()Read the .lfsconfig file from the repositoryprivate ConfigLfsConfig.loadFromHead()Try to read the lfs config from an entry called .lfsconfig contained in the head revision.private ConfigLfsConfig.loadFromIndex()Try to read the lfs config from an entry called .lfsconfig contained in the index.private ConfigLfsConfig.loadFromWorkingTree()Try to read the lfs config from a file called .lfsconfig at the top level of the working tree. -
Uses of Config in org.eclipse.jgit.lib
Subclasses of Config in org.eclipse.jgit.libModifier and TypeClassDescriptionclassConfiguration file based on the blobs stored in the repository.classPersistent configuration that can be stored and loaded from a location.Fields in org.eclipse.jgit.lib declared as ConfigModifier and TypeFieldDescriptionprivate final ConfigConfig.baseConfigprivate ConfigBaseRepositoryBuilder.configConfiguration file of target repository, lazily loaded if required.private final ConfigBranchConfig.configMethods in org.eclipse.jgit.lib that return ConfigModifier and TypeMethodDescriptionConfig.getBaseConfig()Retrieves this config's base config.protected ConfigBaseRepositoryBuilder.getConfig()Get the cached repository configuration, loading if not yet available.protected ConfigBaseRepositoryBuilder.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.booleanDefaultTypedConfigGetter.getBoolean(Config config, String section, String subsection, String name, boolean defaultValue) Get a boolean value from a gitConfig.booleanTypedConfigGetter.getBoolean(Config config, String section, String subsection, String name, boolean defaultValue) Get a boolean value from a gitConfig.private static StringUserConfig.getEmailInternal(Config rc, String envKey) <T extends Enum<?>>
TDefaultTypedConfigGetter.getEnum(Config config, T[] all, String section, String subsection, String name, T defaultValue) Parse an enumeration from a gitConfig.<T extends Enum<?>>
TTypedConfigGetter.getEnum(Config config, T[] all, String section, String subsection, String name, T defaultValue) Parse an enumeration from a gitConfig.intDefaultTypedConfigGetter.getInt(Config config, String section, String subsection, String name, int defaultValue) Obtain an integer value from a gitConfig.intTypedConfigGetter.getInt(Config config, String section, String subsection, String name, int defaultValue) Obtain an integer value from a gitConfig.intDefaultTypedConfigGetter.getIntInRange(Config config, String section, String subsection, String name, int minValue, int maxValue, int defaultValue) Obtain an integer value from a gitConfigwhich must be in given range.intTypedConfigGetter.getIntInRange(Config config, String section, String subsection, String name, int minValue, int maxValue, int defaultValue) Obtain an integer value from a gitConfigwhich must be in given range.longDefaultTypedConfigGetter.getLong(Config config, String section, String subsection, String name, long defaultValue) Obtain a long value from a gitConfig.longTypedConfigGetter.getLong(Config config, String section, String subsection, String name, long defaultValue) Obtain a long value from a gitConfig.private static StringUserConfig.getNameInternal(Config rc, String envKey) default PathTypedConfigGetter.getPath(Config config, String section, String subsection, String name, FS fs, File resolveAgainst, Path defaultValue) Parse a string value from a gitConfigand 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) longDefaultTypedConfigGetter.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.longTypedConfigGetter.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.privateCommitConfig(Config rc) Create an empty configuration with a fallback for missing keys.privateCoreConfig(Config rc) Create a new GPG config that reads the configuration from config.StoredConfig(Config defaultConfig) Create an empty configuration with a fallback for missing keys.privateUserConfig(Config rc) -
Uses of Config in org.eclipse.jgit.merge
Methods in org.eclipse.jgit.merge with parameters of type ConfigModifier and TypeMethodDescriptionprivate static MergeCommand.FastForwardModeMergeConfig.getFastForwardMode(Config config, String[] mergeOptions) private static intResolveMerger.getInCoreLimit(Config config) private static MergeAlgorithmResolveMerger.getMergeAlgorithm(Config config) private static String[]MergeConfig.getMergeOptions(String branch, Config config) abstract MergerMergeStrategy.newMerger(ObjectInserter inserter, Config config) Create a new merge instance.StrategyOneSided.newMerger(ObjectInserter inserter, Config config) Create a new merge instance.StrategyRecursive.newMerger(ObjectInserter inserter, Config config) Create a new merge instance.StrategyResolve.newMerger(ObjectInserter inserter, Config config) Create a new merge instance.StrategySimpleTwoWayInCore.newMerger(ObjectInserter inserter, Config config) Create a new merge instance.Constructors in org.eclipse.jgit.merge with parameters of type ConfigModifierConstructorDescriptionprivateMergeConfig(String branch, Config config) protectedRecursiveMerger(ObjectInserter inserter, Config config) Normal recursive merge, implies inCore.protectedResolveMerger(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 TypeClassDescriptionclassThe configuration file that is stored in the file of the file system.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 constructor -
Uses of Config in org.eclipse.jgit.storage.pack
Methods in org.eclipse.jgit.storage.pack with parameters of type ConfigModifier and TypeMethodDescriptionvoidPackConfig.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
Fields in org.eclipse.jgit.submodule declared as ConfigMethods 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.RemoteConfig.getReplacements(Config config, String keyName) private voidprivate voidprivate voidprivate voidprivate voidvoidUpdate this remote's definition within the configuration.Constructors in org.eclipse.jgit.transport with parameters of type ConfigModifierConstructorDescription(package private)HttpConfig(Config config, URIish uri) Creates a newHttpConfigtailored to the givenURIish.PushConfig(Config config) Creates a new instance.(package private)ReceiveConfig(Config config) RemoteConfig(Config rc, String remoteName) Parse a remote block from an existing configuration file.(package private)ServiceConfig(DaemonService service, Config cfg, String name) (package private)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 ConfigConstructors in org.eclipse.jgit.treewalk with parameters of type Config -
Uses of Config in org.eclipse.jgit.util
Methods in org.eclipse.jgit.util with parameters of type ConfigModifier and TypeMethodDescriptionSystemReader.Default.openJGitConfig(Config parent, FS fs) abstract FileBasedConfigSystemReader.openJGitConfig(Config parent, FS fs) Open the jgit configuration located at $XDG_CONFIG_HOME/jgit/config.SystemReader.Default.openSystemConfig(Config parent, FS fs) abstract FileBasedConfigSystemReader.openSystemConfig(Config parent, FS fs) Open the gitconfig configuration found in the system-wide "etc" directory.SystemReader.Default.openUserConfig(Config parent, FS fs) abstract FileBasedConfigSystemReader.openUserConfig(Config parent, FS fs) Open the git configuration found in the user home.private voidUpdate config and its parents if they seem modified