Class Factory
java.lang.Object
org.eclipse.jgit.internal.transport.sshd.agent.connector.Factory
- All Implemented Interfaces:
ConnectorFactory
An
ConnectorFactory for connecting to an OpenSSH SSH agent.-
Nested Class Summary
Nested classes/interfaces inherited from interface org.eclipse.jgit.transport.sshd.agent.ConnectorFactory
ConnectorFactory.ConnectorDescriptor -
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
Factory
public Factory()
-
-
Method Details
-
create
- Specified by:
createin interfaceConnectorFactory- Throws:
IOException
-
isSupported
public boolean isSupported()- Specified by:
isSupportedin interfaceConnectorFactory
-
getName
- Specified by:
getNamein interfaceConnectorFactory
-
getSupportedConnectors
This factory returns on Windows a
ConnectorDescriptorfor the internal name "pageant"; on Unix one for "SSH_AUTH_SOCK".- Specified by:
getSupportedConnectorsin interfaceConnectorFactory
-
getDefaultConnector
- Specified by:
getDefaultConnectorin interfaceConnectorFactory
-