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
AJGitClientSession.ChainingAttributesrepository that doubles as aPropertyResolver. The property map can be set via the attribute keyPROPERTIES.
-
-
Field Summary
Fields Modifier and Type Field Description private org.apache.sshd.common.PropertyResolverparentPropertiesstatic org.apache.sshd.common.AttributeRepository.AttributeKey<java.util.Map<java.lang.String,java.lang.Object>>PROPERTIESKey for storing a map of properties in the attributes.
-
Constructor Summary
Constructors Constructor Description 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.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.apache.sshd.common.PropertyResolvergetParentPropertyResolver()java.util.Map<java.lang.String,java.lang.Object>getProperties()-
Methods inherited from class org.eclipse.jgit.internal.transport.sshd.JGitClientSession.ChainingAttributes
attributeKeys, getAttribute, getAttributesCount, resolveAttribute
-
-
-
-
Field Detail
-
PROPERTIES
public static final org.apache.sshd.common.AttributeRepository.AttributeKey<java.util.Map<java.lang.String,java.lang.Object>> PROPERTIES
Key for storing a map of properties in the attributes.
-
parentProperties
private final org.apache.sshd.common.PropertyResolver parentProperties
-
-
Constructor Detail
-
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 Detail
-
getParentPropertyResolver
public org.apache.sshd.common.PropertyResolver getParentPropertyResolver()
- Specified by:
getParentPropertyResolverin interfaceorg.apache.sshd.common.PropertyResolver
-
getProperties
public java.util.Map<java.lang.String,java.lang.Object> getProperties()
- Specified by:
getPropertiesin interfaceorg.apache.sshd.common.PropertyResolver
-
-