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.SshEndpointBuilderbasic()default SshEndpointBuilderFactory.AdvancedSshEndpointBuilderchannelType(String channelType)Sets the channel type to pass to the Channel as part of command execution.default SshEndpointBuilderFactory.AdvancedSshEndpointBuildershellPrompt(String shellPrompt)Sets the shellPrompt to be dropped when response is read after command execution.default SshEndpointBuilderFactory.AdvancedSshEndpointBuildersleepForShellPrompt(long sleepForShellPrompt)Sets the sleep period in milliseconds to wait reading response from shell prompt.default SshEndpointBuilderFactory.AdvancedSshEndpointBuildersleepForShellPrompt(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, getUri
-
Methods inherited from interface org.apache.camel.builder.EndpointProducerBuilder
doSetMultiValueProperties, doSetMultiValueProperty, doSetProperty, expr, getUri
-
Methods inherited from interface org.apache.camel.builder.endpoint.dsl.SshEndpointBuilderFactory.AdvancedSshEndpointConsumerBuilder
exceptionHandler, exceptionHandler, exchangePattern, exchangePattern, pollStrategy, pollStrategy
-
-
-
-
Method Detail
-
basic
default SshEndpointBuilderFactory.SshEndpointBuilder basic()
- Specified by:
basicin interfaceSshEndpointBuilderFactory.AdvancedSshEndpointConsumerBuilder- Specified by:
basicin 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:
channelTypein interfaceSshEndpointBuilderFactory.AdvancedSshEndpointConsumerBuilder- Specified by:
channelTypein 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:
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
-
-