Interface OAIPMHEndpointBuilderFactory.OAIPMHEndpointProducerBuilder
-
- All Superinterfaces:
org.apache.camel.builder.EndpointProducerBuilder
,org.apache.camel.EndpointProducerResolver
- All Known Subinterfaces:
OAIPMHEndpointBuilderFactory.OAIPMHEndpointBuilder
- Enclosing interface:
- OAIPMHEndpointBuilderFactory
public static interface OAIPMHEndpointBuilderFactory.OAIPMHEndpointProducerBuilder extends org.apache.camel.builder.EndpointProducerBuilder
Builder for endpoint producers for the OAI-PMH component.
-
-
Method Summary
All Methods Instance Methods Default Methods Modifier and Type Method Description default OAIPMHEndpointBuilderFactory.AdvancedOAIPMHEndpointProducerBuilder
advanced()
default OAIPMHEndpointBuilderFactory.OAIPMHEndpointProducerBuilder
from(String from)
Specifies a lower bound for datestamp-based selective harvesting.default OAIPMHEndpointBuilderFactory.OAIPMHEndpointProducerBuilder
identifier(String identifier)
Identifier of the requested resources.default OAIPMHEndpointBuilderFactory.OAIPMHEndpointProducerBuilder
ignoreSSLWarnings(boolean ignoreSSLWarnings)
Ignore SSL certificate warnings.default OAIPMHEndpointBuilderFactory.OAIPMHEndpointProducerBuilder
ignoreSSLWarnings(String ignoreSSLWarnings)
Ignore SSL certificate warnings.default OAIPMHEndpointBuilderFactory.OAIPMHEndpointProducerBuilder
lazyStartProducer(boolean lazyStartProducer)
Whether the producer should be started lazy (on the first message).default OAIPMHEndpointBuilderFactory.OAIPMHEndpointProducerBuilder
lazyStartProducer(String lazyStartProducer)
Whether the producer should be started lazy (on the first message).default OAIPMHEndpointBuilderFactory.OAIPMHEndpointProducerBuilder
metadataPrefix(String metadataPrefix)
Specifies the metadataPrefix of the format that should be included in the metadata part of the returned records.default OAIPMHEndpointBuilderFactory.OAIPMHEndpointProducerBuilder
onlyFirst(boolean onlyFirst)
Returns the response of a single request.default OAIPMHEndpointBuilderFactory.OAIPMHEndpointProducerBuilder
onlyFirst(String onlyFirst)
Returns the response of a single request.default OAIPMHEndpointBuilderFactory.OAIPMHEndpointProducerBuilder
set(String set)
Specifies membership as a criteria for set-based selective harvesting.default OAIPMHEndpointBuilderFactory.OAIPMHEndpointProducerBuilder
ssl(boolean ssl)
Causes the defined url to make an https request.default OAIPMHEndpointBuilderFactory.OAIPMHEndpointProducerBuilder
ssl(String ssl)
Causes the defined url to make an https request.default OAIPMHEndpointBuilderFactory.OAIPMHEndpointProducerBuilder
until(String until)
Specifies an upper bound for datestamp-based selective harvesting.default OAIPMHEndpointBuilderFactory.OAIPMHEndpointProducerBuilder
verb(String verb)
Request name supported by OAI-PMh protocol.
-
-
-
Method Detail
-
advanced
default OAIPMHEndpointBuilderFactory.AdvancedOAIPMHEndpointProducerBuilder advanced()
-
from
default OAIPMHEndpointBuilderFactory.OAIPMHEndpointProducerBuilder from(String from)
Specifies a lower bound for datestamp-based selective harvesting. UTC DateTime value. The option is a: <code>java.lang.String</code> type. Group: common- Parameters:
from
- the value to set- Returns:
- the dsl builder
-
identifier
default OAIPMHEndpointBuilderFactory.OAIPMHEndpointProducerBuilder identifier(String identifier)
Identifier of the requested resources. Applicable only with certain verbs. The option is a: <code>java.lang.String</code> type. Group: common- Parameters:
identifier
- the value to set- Returns:
- the dsl builder
-
metadataPrefix
default OAIPMHEndpointBuilderFactory.OAIPMHEndpointProducerBuilder metadataPrefix(String metadataPrefix)
Specifies the metadataPrefix of the format that should be included in the metadata part of the returned records. The option is a: <code>java.lang.String</code> type. Default: oai_dc Group: common- Parameters:
metadataPrefix
- the value to set- Returns:
- the dsl builder
-
set
default OAIPMHEndpointBuilderFactory.OAIPMHEndpointProducerBuilder set(String set)
Specifies membership as a criteria for set-based selective harvesting. The option is a: <code>java.lang.String</code> type. Group: common- Parameters:
set
- the value to set- Returns:
- the dsl builder
-
until
default OAIPMHEndpointBuilderFactory.OAIPMHEndpointProducerBuilder until(String until)
Specifies an upper bound for datestamp-based selective harvesting. UTC DateTime value. The option is a: <code>java.lang.String</code> type. Group: common- Parameters:
until
- the value to set- Returns:
- the dsl builder
-
verb
default OAIPMHEndpointBuilderFactory.OAIPMHEndpointProducerBuilder verb(String verb)
Request name supported by OAI-PMh protocol. The option is a: <code>java.lang.String</code> type. Default: ListRecords Group: common- Parameters:
verb
- the value to set- Returns:
- the dsl builder
-
lazyStartProducer
default OAIPMHEndpointBuilderFactory.OAIPMHEndpointProducerBuilder 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 OAIPMHEndpointBuilderFactory.OAIPMHEndpointProducerBuilder 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
-
onlyFirst
default OAIPMHEndpointBuilderFactory.OAIPMHEndpointProducerBuilder onlyFirst(boolean onlyFirst)
Returns the response of a single request. Otherwise it will make requests until there is no more data to return. The option is a: <code>boolean</code> type. Default: false Group: producer- Parameters:
onlyFirst
- the value to set- Returns:
- the dsl builder
-
onlyFirst
default OAIPMHEndpointBuilderFactory.OAIPMHEndpointProducerBuilder onlyFirst(String onlyFirst)
Returns the response of a single request. Otherwise it will make requests until there is no more data to return. The option will be converted to a <code>boolean</code> type. Default: false Group: producer- Parameters:
onlyFirst
- the value to set- Returns:
- the dsl builder
-
ignoreSSLWarnings
default OAIPMHEndpointBuilderFactory.OAIPMHEndpointProducerBuilder ignoreSSLWarnings(boolean ignoreSSLWarnings)
Ignore SSL certificate warnings. The option is a: <code>boolean</code> type. Default: false Group: security- Parameters:
ignoreSSLWarnings
- the value to set- Returns:
- the dsl builder
-
ignoreSSLWarnings
default OAIPMHEndpointBuilderFactory.OAIPMHEndpointProducerBuilder ignoreSSLWarnings(String ignoreSSLWarnings)
Ignore SSL certificate warnings. The option will be converted to a <code>boolean</code> type. Default: false Group: security- Parameters:
ignoreSSLWarnings
- the value to set- Returns:
- the dsl builder
-
ssl
default OAIPMHEndpointBuilderFactory.OAIPMHEndpointProducerBuilder ssl(boolean ssl)
Causes the defined url to make an https request. The option is a: <code>boolean</code> type. Default: false Group: security- Parameters:
ssl
- the value to set- Returns:
- the dsl builder
-
ssl
default OAIPMHEndpointBuilderFactory.OAIPMHEndpointProducerBuilder ssl(String ssl)
Causes the defined url to make an https request. The option will be converted to a <code>boolean</code> type. Default: false Group: security- Parameters:
ssl
- the value to set- Returns:
- the dsl builder
-
-