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.
  • Field Details

    • PROPERTIES

      public static final org.apache.sshd.common.AttributeRepository.AttributeKey<Map<String,Object>> PROPERTIES
      Key for storing a map of properties in the attributes.
    • parentProperties

      private final org.apache.sshd.common.PropertyResolver parentProperties
  • 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 new JGitClientSession.SessionAttributes attribute and property source.
      Parameters:
      self - to search for attributes first
      parent - to search for attributes if not found in self
      parentProperties - to search for properties if not found in self
  • Method Details

    • getParentPropertyResolver

      public org.apache.sshd.common.PropertyResolver getParentPropertyResolver()
      Specified by:
      getParentPropertyResolver in interface org.apache.sshd.common.PropertyResolver
    • getProperties

      public Map<String,Object> getProperties()
      Specified by:
      getProperties in interface org.apache.sshd.common.PropertyResolver