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
All Methods Instance Methods Default Methods Modifier and Type Method Description default SshEndpointBuilderFactory.SshEndpointBuilder
basic()
default SshEndpointBuilderFactory.AdvancedSshEndpointBuilder
channelType(String channelType)
Sets the channel type to pass to the Channel as part of command execution.default SshEndpointBuilderFactory.AdvancedSshEndpointBuilder
shellPrompt(String shellPrompt)
Sets the shellPrompt to be dropped when response is read after command execution.default SshEndpointBuilderFactory.AdvancedSshEndpointBuilder
sleepForShellPrompt(long sleepForShellPrompt)
Sets the sleep period in milliseconds to wait reading response from shell prompt.default SshEndpointBuilderFactory.AdvancedSshEndpointBuilder
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, getUri
-
Methods inherited from interface org.apache.camel.builder.EndpointProducerBuilder
doSetMultiValueProperties, doSetMultiValueProperty, doSetProperty, expr, getRawUri, getUri
-
Methods inherited from interface org.apache.camel.builder.endpoint.dsl.SshEndpointBuilderFactory.AdvancedSshEndpointConsumerBuilder
bridgeErrorHandler, bridgeErrorHandler, exceptionHandler, exceptionHandler, exchangePattern, exchangePattern, pollStrategy, pollStrategy
-
Methods inherited from interface org.apache.camel.builder.endpoint.dsl.SshEndpointBuilderFactory.AdvancedSshEndpointProducerBuilder
lazyStartProducer, lazyStartProducer
-
-
-
-
Method Detail
-
basic
default SshEndpointBuilderFactory.SshEndpointBuilder basic()
- Specified by:
basic
in interfaceSshEndpointBuilderFactory.AdvancedSshEndpointConsumerBuilder
- Specified by:
basic
in interfaceSshEndpointBuilderFactory.AdvancedSshEndpointProducerBuilder
-
channelType
default SshEndpointBuilderFactory.AdvancedSshEndpointBuilder channelType(String 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:
channelType
in interfaceSshEndpointBuilderFactory.AdvancedSshEndpointConsumerBuilder
- Specified by:
channelType
in interfaceSshEndpointBuilderFactory.AdvancedSshEndpointProducerBuilder
- Parameters:
channelType
- the value to set- Returns:
- the dsl builder
-
shellPrompt
default SshEndpointBuilderFactory.AdvancedSshEndpointBuilder shellPrompt(String 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:
shellPrompt
in interfaceSshEndpointBuilderFactory.AdvancedSshEndpointConsumerBuilder
- Specified by:
shellPrompt
in 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:
sleepForShellPrompt
in interfaceSshEndpointBuilderFactory.AdvancedSshEndpointConsumerBuilder
- Specified by:
sleepForShellPrompt
in 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:
sleepForShellPrompt
in interfaceSshEndpointBuilderFactory.AdvancedSshEndpointConsumerBuilder
- Specified by:
sleepForShellPrompt
in interfaceSshEndpointBuilderFactory.AdvancedSshEndpointProducerBuilder
- Parameters:
sleepForShellPrompt
- the value to set- Returns:
- the dsl builder
-
-