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.
  • Nested Class Summary

    Nested classes/interfaces inherited from interface org.apache.sshd.common.AttributeRepository

    org.apache.sshd.common.AttributeRepository.AttributeKey<T>
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    private final org.apache.sshd.common.PropertyResolver
     
    static final org.apache.sshd.common.AttributeRepository.AttributeKey<Map<String,Object>>
    Key for storing a map of properties in the attributes.

    Fields inherited from interface org.apache.sshd.common.PropertyResolver

    EMPTY
  • 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 new JGitClientSession.SessionAttributes attribute and property source.
  • Method Summary

    Modifier and Type
    Method
    Description
    org.apache.sshd.common.PropertyResolver
     
     

    Methods inherited from class org.eclipse.jgit.internal.transport.sshd.JGitClientSession.ChainingAttributes

    attributeKeys, getAttribute, getAttributesCount, resolveAttribute

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface org.apache.sshd.common.PropertyResolver

    getBoolean, getBooleanProperty, getCharset, getInteger, getIntProperty, getLong, getLongProperty, getObject, getString, getStringProperty, isEmpty
  • 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