public class StandardSSHConfigProvider extends Object implements SSHConfigProvider
| Modifier and Type | Class and Description |
|---|---|
private static class |
StandardSSHConfigProvider.DisabledKeepAliveProvider |
private static class |
StandardSSHConfigProvider.DisabledKeepAliveThread |
private static class |
StandardSSHConfigProvider.EnabledKeepAliveProvider |
| Modifier and Type | Field and Description |
|---|---|
private static String |
COMMA_SEPARATOR |
private static net.schmizz.keepalive.KeepAliveProvider |
DISABLED_KEEP_ALIVE_PROVIDER |
private static int |
KEEP_ALIVE_INTERVAL_SECONDS |
| Constructor and Description |
|---|
StandardSSHConfigProvider() |
| Modifier and Type | Method and Description |
|---|---|
private Set<String> |
getCommaSeparatedValues(String propertyValue) |
net.schmizz.sshj.Config |
getConfig(String identifier,
PropertyContext context)
Get SSH configuration based on configured properties
|
private <T> List<net.schmizz.sshj.common.Factory.Named<T>> |
getFilteredValues(String propertyValue,
List<net.schmizz.sshj.common.Factory.Named<T>> supportedValues) |
private net.schmizz.keepalive.KeepAliveProvider |
getKeepAliveProvider(String identifier,
PropertyContext context) |
private Optional<String> |
getOptionalProperty(PropertyContext context,
PropertyDescriptor propertyDescriptor) |
private static final String COMMA_SEPARATOR
private static final int KEEP_ALIVE_INTERVAL_SECONDS
private static final net.schmizz.keepalive.KeepAliveProvider DISABLED_KEEP_ALIVE_PROVIDER
public net.schmizz.sshj.Config getConfig(String identifier, PropertyContext context)
getConfig in interface SSHConfigProvideridentifier - SSH Client identifier for runtime trackingcontext - Property Contextprivate Optional<String> getOptionalProperty(PropertyContext context, PropertyDescriptor propertyDescriptor)
private <T> List<net.schmizz.sshj.common.Factory.Named<T>> getFilteredValues(String propertyValue, List<net.schmizz.sshj.common.Factory.Named<T>> supportedValues)
private net.schmizz.keepalive.KeepAliveProvider getKeepAliveProvider(String identifier, PropertyContext context)
Copyright © 2023 Apache NiFi Project. All rights reserved.