Interface WordpressEndpointBuilderFactory.WordpressEndpointConsumerBuilder
- All Superinterfaces:
org.apache.camel.builder.EndpointConsumerBuilder
,org.apache.camel.EndpointConsumerResolver
- All Known Subinterfaces:
WordpressEndpointBuilderFactory.WordpressEndpointBuilder
- Enclosing interface:
- WordpressEndpointBuilderFactory
public static interface WordpressEndpointBuilderFactory.WordpressEndpointConsumerBuilder
extends org.apache.camel.builder.EndpointConsumerBuilder
Builder for endpoint consumers for the Wordpress component.
-
Method Summary
Modifier and TypeMethodDescriptionadvanced()
apiVersion
(String apiVersion) The Wordpress REST API version.The criteria to use with complex searches.The criteria to use with complex searches.force
(boolean force) Whether to bypass trash and force deletion.Whether to bypass trash and force deletion.The entity ID.The entity ID.Password from authorized user.searchCriteria
(String searchCriteria) Search criteria.searchCriteria
(org.apache.camel.component.wordpress.api.model.SearchCriteria searchCriteria) Search criteria.The Wordpress API URL from your site, e.g.Authorized user to perform writing operations.Methods inherited from interface org.apache.camel.builder.EndpointConsumerBuilder
doSetMultiValueProperties, doSetMultiValueProperty, doSetProperty, expr, getRawUri, getUri
Methods inherited from interface org.apache.camel.EndpointConsumerResolver
resolve, resolve
-
Method Details
-
advanced
-
apiVersion
default WordpressEndpointBuilderFactory.WordpressEndpointConsumerBuilder apiVersion(String apiVersion) The Wordpress REST API version. The option is a: <code>java.lang.String</code> type. Default: 2 Group: common- Parameters:
apiVersion
- the value to set- Returns:
- the dsl builder
-
criteria
default WordpressEndpointBuilderFactory.WordpressEndpointConsumerBuilder criteria(String key, Object value) The criteria to use with complex searches. The option is a: <code>java.util.Map<java.lang.String, java.lang.Object></code> type. The option is multivalued, and you can use the criteria(String, Object) method to add a value (call the method multiple times to set more values). Group: common- Parameters:
key
- the option keyvalue
- the option value- Returns:
- the dsl builder
-
criteria
The criteria to use with complex searches. The option is a: <code>java.util.Map<java.lang.String, java.lang.Object></code> type. The option is multivalued, and you can use the criteria(String, Object) method to add a value (call the method multiple times to set more values). Group: common- Parameters:
values
- the values- Returns:
- the dsl builder
-
force
Whether to bypass trash and force deletion. The option is a: <code>boolean</code> type. Default: false Group: common- Parameters:
force
- the value to set- Returns:
- the dsl builder
-
force
Whether to bypass trash and force deletion. The option will be converted to a <code>boolean</code> type. Default: false Group: common- Parameters:
force
- the value to set- Returns:
- the dsl builder
-
id
The entity ID. Should be passed when the operation performed requires a specific entity, e.g. deleting a post. The option is a: <code>java.lang.Integer</code> type. Group: common- Parameters:
id
- the value to set- Returns:
- the dsl builder
-
id
The entity ID. Should be passed when the operation performed requires a specific entity, e.g. deleting a post. The option will be converted to a <code>java.lang.Integer</code> type. Group: common- Parameters:
id
- the value to set- Returns:
- the dsl builder
-
password
Password from authorized user. The option is a: <code>java.lang.String</code> type. Group: common- Parameters:
password
- the value to set- Returns:
- the dsl builder
-
searchCriteria
default WordpressEndpointBuilderFactory.WordpressEndpointConsumerBuilder searchCriteria(org.apache.camel.component.wordpress.api.model.SearchCriteria searchCriteria) Search criteria. The option is a: <code>org.apache.camel.component.wordpress.api.model.SearchCriteria</code> type. Group: common- Parameters:
searchCriteria
- the value to set- Returns:
- the dsl builder
-
searchCriteria
default WordpressEndpointBuilderFactory.WordpressEndpointConsumerBuilder searchCriteria(String searchCriteria) Search criteria. The option will be converted to a <code>org.apache.camel.component.wordpress.api.model.SearchCriteria</code> type. Group: common- Parameters:
searchCriteria
- the value to set- Returns:
- the dsl builder
-
url
The Wordpress API URL from your site, e.g. http://myblog.com/wp-json/. The option is a: <code>java.lang.String</code> type. Required: true Group: common- Parameters:
url
- the value to set- Returns:
- the dsl builder
-
user
Authorized user to perform writing operations. The option is a: <code>java.lang.String</code> type. Group: common- Parameters:
user
- the value to set- Returns:
- the dsl builder
-