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.ChainingAttributes
repository 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.PropertyResolver
parentProperties
static 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.
-
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.SessionAttributes
attribute and property source.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.apache.sshd.common.PropertyResolver
getParentPropertyResolver()
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.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 Detail
-
getParentPropertyResolver
public org.apache.sshd.common.PropertyResolver getParentPropertyResolver()
- Specified by:
getParentPropertyResolver
in interfaceorg.apache.sshd.common.PropertyResolver
-
getProperties
public java.util.Map<java.lang.String,java.lang.Object> getProperties()
- Specified by:
getProperties
in interfaceorg.apache.sshd.common.PropertyResolver
-
-