Top Description Fields Constructors Methods
org.eclipse.jgit.internal.transport.sshd

public Class JGitHostConfigEntry

extends HostConfigEntry
Class Inheritance
Imports
java.util.Collections, .List, .Map, org.apache.sshd.client.config.hosts.HostConfigEntry, org.eclipse.jgit.annotations.NonNull

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

Modifier and TypeField and Description
private Map<String, List<String>>
Inherited from org.apache.sshd.client.config.hosts.HostConfigEntry:
CERTIFICATE_FILE_CONFIG_PROPDEFAULT_EXCLUSIVE_IDENTITIESEXCLUSIVE_IDENTITIES_CONFIG_PROPexclusiveIdentitesEXPLICIT_PROPERTIEShostHOST_CONFIG_PROPHOST_NAME_CONFIG_PROPhostNameidentitiesIDENTITY_AGENTIDENTITY_FILE_CONFIG_PROPLOCAL_HOME_MACROLOCAL_HOST_MACROLOCAL_USER_MACROMATCH_CONFIG_PROPMULTI_VALUE_SEPARATORSPATH_MACRO_CHARportPORT_CONFIG_PROPpropertiesPROXY_JUMP_CONFIG_PROPproxyJumpREMOTE_HOST_MACROREMOTE_PORT_MACROREMOTE_USER_MACROSTD_CONFIG_FILENAMEUSER_CONFIG_PROPusername

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public Map<String, List<String>>

Returns:

an unmodifiable map
getMultiValuedOptions
()

Retrieves all multi-valued options.

public void
setMultiValuedOptions(Map<String, List<String>>
to set, may be null to set an empty map
options
)

Sets the multi-valued options.

Inherited from org.apache.sshd.client.config.hosts.HostConfigEntry:
addIdentityaddIdentityappendappendHostConfigEntriesappendNonEmptyPortappendNonEmptyPropertiesappendNonEmptyPropertyappendNonEmptyValuesappendNonEmptyValuesappendPropertyValuecollatefindMatchingEntriesfindMatchingEntriesgetDefaultHostConfigFilegetHostgetHostNamegetIdentitiesgetPortgetPropertiesgetPropertygetPropertygetProxyJumpgetUsernameisIdentitiesOnlyparseConfigValueprocessPropertyreadHostConfigEntriesreadHostConfigEntriesreadHostConfigEntriesreadHostConfigEntriesreadHostConfigEntriesremovePropertyresolveIdentityFilePathsetHostsetHostsetHostNamesetIdentitiessetIdentitiesOnlysetPortsetPropertiessetPropertysetProxyJumpsetUsernametoHostConfigEntryResolvertoStringwriteHostConfigEntrieswriteHostConfigEntries

Field Detail

multiValuedOptionsback to summary
private Map<String, List<String>> multiValuedOptions

Constructor Detail

JGitHostConfigEntryback to summary
public JGitHostConfigEntry()

Method Detail

getMultiValuedOptionsback to summary
public Map<String, List<String>> getMultiValuedOptions()

Retrieves all multi-valued options.

Returns:Map<String, List<String>>

an unmodifiable map

Annotations
@NonNull
setMultiValuedOptionsback to summary
public void setMultiValuedOptions(Map<String, List<String>> options)

Sets the multi-valued options.

Parameters
options:Map<String, List<String>>

to set, may be null to set an empty map