org.apache.maven.wagon.providers.ssh.knownhost
Class AbstractKnownHostsProvider
java.lang.Object
org.apache.maven.wagon.providers.ssh.knownhost.AbstractKnownHostsProvider
- All Implemented Interfaces:
- KnownHostsProvider
- Direct Known Subclasses:
- NullKnownHostProvider, SingleKnownHostProvider, StreamKnownHostsProvider
public abstract class AbstractKnownHostsProvider
- extends Object
- implements KnownHostsProvider
Common base for known hosts providers.
- Version:
- $Id: AbstractKnownHostsProvider.java 1172843 2011-09-19 21:28:04Z hboutemy $
- Author:
- Brett Porter
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
contents
protected String contents
- the known hosts, in the openssh format
knownHosts
protected Set<KnownHostEntry> knownHosts
AbstractKnownHostsProvider
public AbstractKnownHostsProvider()
setHostKeyChecking
public void setHostKeyChecking(String hostKeyChecking)
- Specified by:
setHostKeyChecking
in interface KnownHostsProvider
getHostKeyChecking
public String getHostKeyChecking()
- Specified by:
getHostKeyChecking
in interface KnownHostsProvider
getContents
public String getContents()
- Specified by:
getContents
in interface KnownHostsProvider
storeKnownHosts
public void storeKnownHosts(String contents)
throws IOException
- Specified by:
storeKnownHosts
in interface KnownHostsProvider
- Throws:
IOException
Copyright © 2003-2011 The Apache Software Foundation. All Rights Reserved.