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.PropertyResolverKey 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.SessionAttributesattribute and property source. -
Method Summary
Modifier and TypeMethodDescriptionorg.apache.sshd.common.PropertyResolverMethods inherited from class org.eclipse.jgit.internal.transport.sshd.JGitClientSession.ChainingAttributes
attributeKeys, getAttribute, getAttributesCount, resolveAttributeMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods 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.SessionAttributesattribute and property source.- Parameters:
self- to search for attributes firstparent- to search for attributes if not found inselfparentProperties- to search for properties if not found inself
-
-
Method Details
-
getParentPropertyResolver
public org.apache.sshd.common.PropertyResolver getParentPropertyResolver()- Specified by:
getParentPropertyResolverin interfaceorg.apache.sshd.common.PropertyResolver
-
getProperties
- Specified by:
getPropertiesin interfaceorg.apache.sshd.common.PropertyResolver
-