Interface SshEndpointBuilderFactory.AdvancedSshEndpointBuilder
- All Superinterfaces:
org.apache.camel.builder.EndpointConsumerBuilder,org.apache.camel.EndpointConsumerResolver,org.apache.camel.builder.EndpointProducerBuilder,org.apache.camel.EndpointProducerResolver,SshEndpointBuilderFactory.AdvancedSshEndpointConsumerBuilder,SshEndpointBuilderFactory.AdvancedSshEndpointProducerBuilder
- Enclosing interface:
SshEndpointBuilderFactory
public static interface SshEndpointBuilderFactory.AdvancedSshEndpointBuilder
extends SshEndpointBuilderFactory.AdvancedSshEndpointConsumerBuilder, SshEndpointBuilderFactory.AdvancedSshEndpointProducerBuilder
Advanced builder for endpoint for the SSH component.
-
Method Summary
Modifier and TypeMethodDescriptionbasic()channelType(String channelType) Sets the channel type to pass to the Channel as part of command execution.clientBuilder(String clientBuilder) Instance of ClientBuilder used by the producer or consumer to create a new SshClient.clientBuilder(org.apache.sshd.client.ClientBuilder clientBuilder) Instance of ClientBuilder used by the producer or consumer to create a new SshClient.compressions(String compressions) Whether to use compression, and if so which.shellPrompt(String shellPrompt) Sets the shellPrompt to be dropped when response is read after command execution.sleepForShellPrompt(long sleepForShellPrompt) Sets the sleep period in milliseconds to wait reading response from shell prompt.sleepForShellPrompt(String sleepForShellPrompt) Sets the sleep period in milliseconds to wait reading response from shell prompt.Methods inherited from interface org.apache.camel.builder.EndpointConsumerBuilder
doSetMultiValueProperties, doSetMultiValueProperty, doSetProperty, expr, getRawUri, getUriMethods inherited from interface org.apache.camel.EndpointConsumerResolver
resolve, resolveMethods inherited from interface org.apache.camel.builder.EndpointProducerBuilder
doSetMultiValueProperties, doSetMultiValueProperty, doSetProperty, expr, getRawUri, getUriMethods inherited from interface org.apache.camel.EndpointProducerResolver
resolve, resolveMethods inherited from interface org.apache.camel.builder.endpoint.dsl.SshEndpointBuilderFactory.AdvancedSshEndpointConsumerBuilder
bridgeErrorHandler, bridgeErrorHandler, exceptionHandler, exceptionHandler, exchangePattern, exchangePattern, pollStrategy, pollStrategyMethods inherited from interface org.apache.camel.builder.endpoint.dsl.SshEndpointBuilderFactory.AdvancedSshEndpointProducerBuilder
lazyStartProducer, lazyStartProducer
-
Method Details
-
basic
- Specified by:
basicin interfaceSshEndpointBuilderFactory.AdvancedSshEndpointConsumerBuilder- Specified by:
basicin interfaceSshEndpointBuilderFactory.AdvancedSshEndpointProducerBuilder
-
channelType
Sets the channel type to pass to the Channel as part of command execution. Defaults to exec. The option is a: <code>java.lang.String</code> type. Default: exec Group: advanced- Specified by:
channelTypein interfaceSshEndpointBuilderFactory.AdvancedSshEndpointConsumerBuilder- Specified by:
channelTypein interfaceSshEndpointBuilderFactory.AdvancedSshEndpointProducerBuilder- Parameters:
channelType- the value to set- Returns:
- the dsl builder
-
clientBuilder
default SshEndpointBuilderFactory.AdvancedSshEndpointBuilder clientBuilder(org.apache.sshd.client.ClientBuilder clientBuilder) Instance of ClientBuilder used by the producer or consumer to create a new SshClient. The option is a: <code>org.apache.sshd.client.ClientBuilder</code> type. Group: advanced- Specified by:
clientBuilderin interfaceSshEndpointBuilderFactory.AdvancedSshEndpointConsumerBuilder- Specified by:
clientBuilderin interfaceSshEndpointBuilderFactory.AdvancedSshEndpointProducerBuilder- Parameters:
clientBuilder- the value to set- Returns:
- the dsl builder
-
clientBuilder
Instance of ClientBuilder used by the producer or consumer to create a new SshClient. The option will be converted to a <code>org.apache.sshd.client.ClientBuilder</code> type. Group: advanced- Specified by:
clientBuilderin interfaceSshEndpointBuilderFactory.AdvancedSshEndpointConsumerBuilder- Specified by:
clientBuilderin interfaceSshEndpointBuilderFactory.AdvancedSshEndpointProducerBuilder- Parameters:
clientBuilder- the value to set- Returns:
- the dsl builder
-
compressions
Whether to use compression, and if so which. The option is a: <code>java.lang.String</code> type. Group: advanced- Specified by:
compressionsin interfaceSshEndpointBuilderFactory.AdvancedSshEndpointConsumerBuilder- Specified by:
compressionsin interfaceSshEndpointBuilderFactory.AdvancedSshEndpointProducerBuilder- Parameters:
compressions- the value to set- Returns:
- the dsl builder
-
shellPrompt
Sets the shellPrompt to be dropped when response is read after command execution. The option is a: <code>java.lang.String</code> type. Group: advanced- Specified by:
shellPromptin interfaceSshEndpointBuilderFactory.AdvancedSshEndpointConsumerBuilder- Specified by:
shellPromptin interfaceSshEndpointBuilderFactory.AdvancedSshEndpointProducerBuilder- Parameters:
shellPrompt- the value to set- Returns:
- the dsl builder
-
sleepForShellPrompt
default SshEndpointBuilderFactory.AdvancedSshEndpointBuilder sleepForShellPrompt(long sleepForShellPrompt) Sets the sleep period in milliseconds to wait reading response from shell prompt. Defaults to 100 milliseconds. The option is a: <code>long</code> type. Default: 100 Group: advanced- Specified by:
sleepForShellPromptin interfaceSshEndpointBuilderFactory.AdvancedSshEndpointConsumerBuilder- Specified by:
sleepForShellPromptin interfaceSshEndpointBuilderFactory.AdvancedSshEndpointProducerBuilder- Parameters:
sleepForShellPrompt- the value to set- Returns:
- the dsl builder
-
sleepForShellPrompt
default SshEndpointBuilderFactory.AdvancedSshEndpointBuilder sleepForShellPrompt(String sleepForShellPrompt) Sets the sleep period in milliseconds to wait reading response from shell prompt. Defaults to 100 milliseconds. The option will be converted to a <code>long</code> type. Default: 100 Group: advanced- Specified by:
sleepForShellPromptin interfaceSshEndpointBuilderFactory.AdvancedSshEndpointConsumerBuilder- Specified by:
sleepForShellPromptin interfaceSshEndpointBuilderFactory.AdvancedSshEndpointProducerBuilder- Parameters:
sleepForShellPrompt- the value to set- Returns:
- the dsl builder
-