public static class JGitClientSession.ChainingAttributes extends Object implements org.apache.sshd.common.AttributeRepository
AttributeRepository
that chains together two other attribute
sources in a hierarchy.Constructor and Description |
---|
ChainingAttributes(org.apache.sshd.common.AttributeRepository self,
org.apache.sshd.common.AttributeRepository parent)
Create a new
JGitClientSession.ChainingAttributes attribute source. |
Modifier and Type | Method and Description |
---|---|
Collection<org.apache.sshd.common.AttributeRepository.AttributeKey<?>> |
attributeKeys() |
<T> T |
getAttribute(org.apache.sshd.common.AttributeRepository.AttributeKey<T> key) |
int |
getAttributesCount() |
<T> T |
resolveAttribute(org.apache.sshd.common.AttributeRepository.AttributeKey<T> key) |
public ChainingAttributes(org.apache.sshd.common.AttributeRepository self, org.apache.sshd.common.AttributeRepository parent)
JGitClientSession.ChainingAttributes
attribute source.self
- to search for attributes firstparent
- to search for attributes if not found in self
public int getAttributesCount()
getAttributesCount
in interface org.apache.sshd.common.AttributeRepository
public <T> T getAttribute(org.apache.sshd.common.AttributeRepository.AttributeKey<T> key)
getAttribute
in interface org.apache.sshd.common.AttributeRepository
public Collection<org.apache.sshd.common.AttributeRepository.AttributeKey<?>> attributeKeys()
attributeKeys
in interface org.apache.sshd.common.AttributeRepository
public <T> T resolveAttribute(org.apache.sshd.common.AttributeRepository.AttributeKey<T> key)
resolveAttribute
in interface org.apache.sshd.common.AttributeRepository
Copyright © 2020 Eclipse JGit Project. All rights reserved.