Interface GitHubEndpointBuilderFactory.GitHubEndpointProducerBuilder
-
- All Superinterfaces:
org.apache.camel.builder.EndpointProducerBuilder
,org.apache.camel.EndpointProducerResolver
- All Known Subinterfaces:
GitHubEndpointBuilderFactory.GitHubEndpointBuilder
- Enclosing interface:
- GitHubEndpointBuilderFactory
public static interface GitHubEndpointBuilderFactory.GitHubEndpointProducerBuilder extends org.apache.camel.builder.EndpointProducerBuilder
Builder for endpoint producers for the GitHub component.
-
-
Method Summary
-
-
-
Method Detail
-
advanced
default GitHubEndpointBuilderFactory.AdvancedGitHubEndpointProducerBuilder advanced()
-
repoName
default GitHubEndpointBuilderFactory.GitHubEndpointProducerBuilder repoName(String repoName)
GitHub repository name. The option is a: <code>java.lang.String</code> type. Required: true Group: common- Parameters:
repoName
- the value to set- Returns:
- the dsl builder
-
repoOwner
default GitHubEndpointBuilderFactory.GitHubEndpointProducerBuilder repoOwner(String repoOwner)
GitHub repository owner (organization). The option is a: <code>java.lang.String</code> type. Required: true Group: common- Parameters:
repoOwner
- the value to set- Returns:
- the dsl builder
-
encoding
default GitHubEndpointBuilderFactory.GitHubEndpointProducerBuilder encoding(String encoding)
To use the given encoding when getting a git commit file. The option is a: <code>java.lang.String</code> type. Group: producer- Parameters:
encoding
- the value to set- Returns:
- the dsl builder
-
lazyStartProducer
default GitHubEndpointBuilderFactory.GitHubEndpointProducerBuilder lazyStartProducer(boolean lazyStartProducer)
Whether the producer should be started lazy (on the first message). By starting lazy you can use this to allow CamelContext and routes to startup in situations where a producer may otherwise fail during starting and cause the route to fail being started. By deferring this startup to be lazy then the startup failure can be handled during routing messages via Camel's routing error handlers. Beware that when the first message is processed then creating and starting the producer may take a little time and prolong the total processing time of the processing. The option is a: <code>boolean</code> type. Default: false Group: producer- Parameters:
lazyStartProducer
- the value to set- Returns:
- the dsl builder
-
lazyStartProducer
default GitHubEndpointBuilderFactory.GitHubEndpointProducerBuilder lazyStartProducer(String lazyStartProducer)
Whether the producer should be started lazy (on the first message). By starting lazy you can use this to allow CamelContext and routes to startup in situations where a producer may otherwise fail during starting and cause the route to fail being started. By deferring this startup to be lazy then the startup failure can be handled during routing messages via Camel's routing error handlers. Beware that when the first message is processed then creating and starting the producer may take a little time and prolong the total processing time of the processing. The option will be converted to a <code>boolean</code> type. Default: false Group: producer- Parameters:
lazyStartProducer
- the value to set- Returns:
- the dsl builder
-
state
default GitHubEndpointBuilderFactory.GitHubEndpointProducerBuilder state(String state)
To set git commit status state. The option is a: <code>java.lang.String</code> type. Group: producer- Parameters:
state
- the value to set- Returns:
- the dsl builder
-
targetUrl
default GitHubEndpointBuilderFactory.GitHubEndpointProducerBuilder targetUrl(String targetUrl)
To set git commit status target url. The option is a: <code>java.lang.String</code> type. Group: producer- Parameters:
targetUrl
- the value to set- Returns:
- the dsl builder
-
oauthToken
default GitHubEndpointBuilderFactory.GitHubEndpointProducerBuilder oauthToken(String oauthToken)
GitHub OAuth token. Must be configured on either component or endpoint. The option is a: <code>java.lang.String</code> type. Group: security- Parameters:
oauthToken
- the value to set- Returns:
- the dsl builder
-
-