Module org.eclipse.jgit.ssh.apache
Class JGitHostConfigEntry
java.lang.Object
org.apache.sshd.client.config.hosts.HostPatternsHolder
org.apache.sshd.client.config.hosts.HostConfigEntry
org.eclipse.jgit.internal.transport.sshd.JGitHostConfigEntry
- All Implemented Interfaces:
org.apache.sshd.common.auth.MutableUserHolder,org.apache.sshd.common.auth.UsernameHolder
public class JGitHostConfigEntry
extends org.apache.sshd.client.config.hosts.HostConfigEntry
A
HostConfigEntry that provides access to the multi-valued keys as
lists of strings. The super class treats them as single strings containing
comma-separated lists.-
Field Summary
Fields inherited from class org.apache.sshd.client.config.hosts.HostConfigEntry
CERTIFICATE_FILE_CONFIG_PROP, DEFAULT_EXCLUSIVE_IDENTITIES, EXCLUSIVE_IDENTITIES_CONFIG_PROP, exclusiveIdentites, EXPLICIT_PROPERTIES, host, HOST_CONFIG_PROP, HOST_NAME_CONFIG_PROP, hostName, identities, IDENTITY_AGENT, IDENTITY_FILE_CONFIG_PROP, LOCAL_HOME_MACRO, LOCAL_HOST_MACRO, LOCAL_USER_MACRO, MATCH_CONFIG_PROP, MULTI_VALUE_SEPARATORS, PATH_MACRO_CHAR, port, PORT_CONFIG_PROP, properties, PROXY_JUMP_CONFIG_PROP, proxyJump, REMOTE_HOST_MACRO, REMOTE_PORT_MACRO, REMOTE_USER_MACRO, STD_CONFIG_FILENAME, USER_CONFIG_PROP, usernameFields inherited from class org.apache.sshd.client.config.hosts.HostPatternsHolder
ALL_HOSTS_PATTERN, NEGATION_CHAR_PATTERN, NON_STANDARD_PORT_PATTERN_ENCLOSURE_END_DELIM, NON_STANDARD_PORT_PATTERN_ENCLOSURE_START_DELIM, PATTERN_CHARS, PORT_VALUE_DELIMITER, SINGLE_CHAR_PATTERN, WILDCARD_PATTERN -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionRetrieves all multi-valued options.voidsetMultiValuedOptions(Map<String, List<String>> options) Sets the multi-valued options.Methods inherited from class org.apache.sshd.client.config.hosts.HostConfigEntry
addIdentity, addIdentity, append, appendHostConfigEntries, appendNonEmptyPort, appendNonEmptyProperties, appendNonEmptyProperty, appendNonEmptyValues, appendNonEmptyValues, appendPropertyValue, collate, findMatchingEntries, findMatchingEntries, getDefaultHostConfigFile, getHost, getHostName, getIdentities, getPort, getProperties, getProperty, getProperty, getProxyJump, getUsername, isIdentitiesOnly, parseConfigValue, processProperty, readHostConfigEntries, readHostConfigEntries, readHostConfigEntries, readHostConfigEntries, readHostConfigEntries, removeProperty, resolveIdentityFilePath, setHost, setHost, setHostName, setIdentities, setIdentitiesOnly, setPort, setProperties, setProperty, setProxyJump, setUsername, toHostConfigEntryResolver, toString, writeHostConfigEntries, writeHostConfigEntriesMethods inherited from class org.apache.sshd.client.config.hosts.HostPatternsHolder
getPatterns, isHostMatch, isHostMatch, isHostMatch, isPortMatch, isSpecificHostPattern, isValidPatternChar, parsePatterns, parsePatterns, setPatterns, toPattern
-
Constructor Details
-
JGitHostConfigEntry
public JGitHostConfigEntry()
-
-
Method Details
-
setMultiValuedOptions
Sets the multi-valued options.- Parameters:
options- to set, may benullto set an empty map
-
getMultiValuedOptions
Retrieves all multi-valued options.- Returns:
- an unmodifiable map
-