Class JGitClientSession.SessionAttributes
java.lang.Object
org.eclipse.jgit.internal.transport.sshd.JGitClientSession.ChainingAttributes
org.eclipse.jgit.internal.transport.sshd.JGitClientSession.SessionAttributes
- All Implemented Interfaces:
org.apache.sshd.common.AttributeRepository
,org.apache.sshd.common.PropertyResolver
- Enclosing class:
- JGitClientSession
public static class JGitClientSession.SessionAttributes
extends JGitClientSession.ChainingAttributes
implements org.apache.sshd.common.PropertyResolver
A
JGitClientSession.ChainingAttributes
repository that doubles as a
PropertyResolver
. The property map can be set via the attribute
key PROPERTIES
.-
Nested Class Summary
Nested classes/interfaces inherited from interface org.apache.sshd.common.AttributeRepository
org.apache.sshd.common.AttributeRepository.AttributeKey<T extends Object>
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final org.apache.sshd.common.PropertyResolver
Key for storing a map of properties in the attributes.Fields inherited from interface org.apache.sshd.common.PropertyResolver
EMPTY
-
Constructor Summary
ConstructorsConstructorDescriptionSessionAttributes
(org.apache.sshd.common.AttributeRepository self, org.apache.sshd.common.AttributeRepository parent, org.apache.sshd.common.PropertyResolver parentProperties) Creates a newJGitClientSession.SessionAttributes
attribute and property source. -
Method Summary
Modifier and TypeMethodDescriptionorg.apache.sshd.common.PropertyResolver
Methods inherited from class org.eclipse.jgit.internal.transport.sshd.JGitClientSession.ChainingAttributes
attributeKeys, getAttribute, getAttributesCount, resolveAttribute
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.apache.sshd.common.PropertyResolver
getBoolean, getBooleanProperty, getCharset, getInteger, getIntProperty, getLong, getLongProperty, getObject, getString, getStringProperty, isEmpty
-
Field Details
-
Constructor Details
-
SessionAttributes
public SessionAttributes(org.apache.sshd.common.AttributeRepository self, org.apache.sshd.common.AttributeRepository parent, org.apache.sshd.common.PropertyResolver parentProperties) Creates a newJGitClientSession.SessionAttributes
attribute and property source.- Parameters:
self
- to search for attributes firstparent
- to search for attributes if not found inself
parentProperties
- to search for properties if not found inself
-
-
Method Details
-
getParentPropertyResolver
public org.apache.sshd.common.PropertyResolver getParentPropertyResolver()- Specified by:
getParentPropertyResolver
in interfaceorg.apache.sshd.common.PropertyResolver
-
getProperties
- Specified by:
getProperties
in interfaceorg.apache.sshd.common.PropertyResolver
-