Class JGitClientSession.ChainingAttributes
- java.lang.Object
-
- org.eclipse.jgit.internal.transport.sshd.JGitClientSession.ChainingAttributes
-
- All Implemented Interfaces:
org.apache.sshd.common.AttributeRepository
- Direct Known Subclasses:
JGitClientSession.SessionAttributes
- Enclosing class:
- JGitClientSession
public static class JGitClientSession.ChainingAttributes extends java.lang.Object implements org.apache.sshd.common.AttributeRepositoryAnAttributeRepositorythat chains together two other attribute sources in a hierarchy.
-
-
Constructor Summary
Constructors Constructor Description ChainingAttributes(org.apache.sshd.common.AttributeRepository self, org.apache.sshd.common.AttributeRepository parent)Create a newJGitClientSession.ChainingAttributesattribute source.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.Collection<org.apache.sshd.common.AttributeRepository.AttributeKey<?>>attributeKeys()<T> TgetAttribute(org.apache.sshd.common.AttributeRepository.AttributeKey<T> key)intgetAttributesCount()<T> TresolveAttribute(org.apache.sshd.common.AttributeRepository.AttributeKey<T> key)
-
-
-
Constructor Detail
-
ChainingAttributes
public ChainingAttributes(org.apache.sshd.common.AttributeRepository self, org.apache.sshd.common.AttributeRepository parent)Create a newJGitClientSession.ChainingAttributesattribute source.- Parameters:
self- to search for attributes firstparent- to search for attributes if not found inself
-
-
Method Detail
-
getAttributesCount
public int getAttributesCount()
- Specified by:
getAttributesCountin interfaceorg.apache.sshd.common.AttributeRepository
-
getAttribute
public <T> T getAttribute(org.apache.sshd.common.AttributeRepository.AttributeKey<T> key)
- Specified by:
getAttributein interfaceorg.apache.sshd.common.AttributeRepository
-
attributeKeys
public java.util.Collection<org.apache.sshd.common.AttributeRepository.AttributeKey<?>> attributeKeys()
- Specified by:
attributeKeysin interfaceorg.apache.sshd.common.AttributeRepository
-
resolveAttribute
public <T> T resolveAttribute(org.apache.sshd.common.AttributeRepository.AttributeKey<T> key)
- Specified by:
resolveAttributein interfaceorg.apache.sshd.common.AttributeRepository
-
-