Class 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

        DEFAULT_EXCLUSIVE_IDENTITIES, EXCLUSIVE_IDENTITIES_CONFIG_PROP, EXPLICIT_PROPERTIES, HOME_TILDE_CHAR, HOST_CONFIG_PROP, HOST_NAME_CONFIG_PROP, IDENTITY_AGENT, IDENTITY_FILE_CONFIG_PROP, LOCAL_HOME_MACRO, LOCAL_HOST_MACRO, LOCAL_USER_MACRO, MULTI_VALUE_SEPARATORS, PATH_MACRO_CHAR, PORT_CONFIG_PROP, PROXY_JUMP_CONFIG_PROP, REMOTE_HOST_MACRO, REMOTE_PORT_MACRO, REMOTE_USER_MACRO, STD_CONFIG_FILENAME, USER_CONFIG_PROP
      • Fields 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
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      Map<String,​List<String>> getMultiValuedOptions()
      Retrieves all multi-valued options.
      void setMultiValuedOptions​(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, appendUserHome, appendUserHome, appendUserHome, findBestMatch, findBestMatch, findBestMatch, getDefaultHostConfigFile, getHost, getHostName, getIdentities, getPort, getProperties, getProperty, getProperty, getProxyJump, getUsername, isIdentitiesOnly, normalizeEntry, parseConfigValue, processGlobalValues, processProperty, readHostConfigEntries, readHostConfigEntries, readHostConfigEntries, readHostConfigEntries, readHostConfigEntries, removeProperty, resolveHostName, resolveHostName, resolveIdentityFilePath, resolvePort, resolvePort, resolveProxyJump, resolveProxyJump, resolveUsername, resolveUsername, setHost, setHost, setHostName, setIdentities, setIdentitiesOnly, setPort, setProperties, setProperty, setProxyJump, setUsername, toHostConfigEntryResolver, toString, updateEntriesList, updateGlobalHostName, updateGlobalIdentities, updateGlobalIdentityOnly, updateGlobalPort, updateGlobalProperties, updateGlobalUserName, writeHostConfigEntries, writeHostConfigEntries
      • Methods inherited from class org.apache.sshd.client.config.hosts.HostPatternsHolder

        findMatchingEntries, findMatchingEntries, getPatterns, isHostMatch, isHostMatch, isHostMatch, isPortMatch, isSpecificHostPattern, isValidPatternChar, parsePatterns, parsePatterns, setPatterns, toPattern
    • Constructor Detail

      • JGitHostConfigEntry

        public JGitHostConfigEntry()
    • Method Detail

      • setMultiValuedOptions

        public void setMultiValuedOptions​(Map<String,​List<String>> options)
        Sets the multi-valued options.
        Parameters:
        options - to set, may be null to set an empty map
      • getMultiValuedOptions

        @NonNull
        public Map<String,​List<String>> getMultiValuedOptions()
        Retrieves all multi-valued options.
        Returns:
        an unmodifiable map