Interface JBPMEndpointBuilderFactory.JBPMEndpointProducerBuilder
-
- All Superinterfaces:
org.apache.camel.builder.EndpointProducerBuilder
,org.apache.camel.EndpointProducerResolver
- All Known Subinterfaces:
JBPMEndpointBuilderFactory.JBPMEndpointBuilder
- Enclosing interface:
- JBPMEndpointBuilderFactory
public static interface JBPMEndpointBuilderFactory.JBPMEndpointProducerBuilder extends org.apache.camel.builder.EndpointProducerBuilder
Builder for endpoint producers for the JBPM component.
-
-
Method Summary
-
-
-
Method Detail
-
advanced
default JBPMEndpointBuilderFactory.AdvancedJBPMEndpointProducerBuilder advanced()
-
attachmentId
default JBPMEndpointBuilderFactory.JBPMEndpointProducerBuilder attachmentId(Long attachmentId)
attachId to use when retrieving attachments. The option is a: <code>java.lang.Long</code> type. Group: common- Parameters:
attachmentId
- the value to set- Returns:
- the dsl builder
-
attachmentId
default JBPMEndpointBuilderFactory.JBPMEndpointProducerBuilder attachmentId(String attachmentId)
attachId to use when retrieving attachments. The option will be converted to a <code>java.lang.Long</code> type. Group: common- Parameters:
attachmentId
- the value to set- Returns:
- the dsl builder
-
contentId
default JBPMEndpointBuilderFactory.JBPMEndpointProducerBuilder contentId(Long contentId)
contentId to use when retrieving attachments. The option is a: <code>java.lang.Long</code> type. Group: common- Parameters:
contentId
- the value to set- Returns:
- the dsl builder
-
contentId
default JBPMEndpointBuilderFactory.JBPMEndpointProducerBuilder contentId(String contentId)
contentId to use when retrieving attachments. The option will be converted to a <code>java.lang.Long</code> type. Group: common- Parameters:
contentId
- the value to set- Returns:
- the dsl builder
-
deploymentId
default JBPMEndpointBuilderFactory.JBPMEndpointProducerBuilder deploymentId(String deploymentId)
The id of the deployment. The option is a: <code>java.lang.String</code> type. Required: true Group: common- Parameters:
deploymentId
- the value to set- Returns:
- the dsl builder
-
emitterSendItems
default JBPMEndpointBuilderFactory.JBPMEndpointProducerBuilder emitterSendItems(Boolean emitterSendItems)
Sets if event produced by emitter should be sent as single items or complete collection. The option is a: <code>java.lang.Boolean</code> type. Group: common- Parameters:
emitterSendItems
- the value to set- Returns:
- the dsl builder
-
emitterSendItems
default JBPMEndpointBuilderFactory.JBPMEndpointProducerBuilder emitterSendItems(String emitterSendItems)
Sets if event produced by emitter should be sent as single items or complete collection. The option will be converted to a <code>java.lang.Boolean</code> type. Group: common- Parameters:
emitterSendItems
- the value to set- Returns:
- the dsl builder
-
event
default JBPMEndpointBuilderFactory.JBPMEndpointProducerBuilder event(Object event)
the data associated with this event when signalEvent operation is performed. The option is a: <code>java.lang.Object</code> type. Group: common- Parameters:
event
- the value to set- Returns:
- the dsl builder
-
event
default JBPMEndpointBuilderFactory.JBPMEndpointProducerBuilder event(String event)
the data associated with this event when signalEvent operation is performed. The option will be converted to a <code>java.lang.Object</code> type. Group: common- Parameters:
event
- the value to set- Returns:
- the dsl builder
-
eventType
default JBPMEndpointBuilderFactory.JBPMEndpointProducerBuilder eventType(String eventType)
the type of event to use when signalEvent operation is performed. The option is a: <code>java.lang.String</code> type. Group: common- Parameters:
eventType
- the value to set- Returns:
- the dsl builder
-
identifier
default JBPMEndpointBuilderFactory.JBPMEndpointProducerBuilder identifier(String identifier)
identifier the global identifier. The option is a: <code>java.lang.String</code> type. Group: common- Parameters:
identifier
- the value to set- Returns:
- the dsl builder
-
maxNumber
default JBPMEndpointBuilderFactory.JBPMEndpointProducerBuilder maxNumber(Integer maxNumber)
the maximum number of rules that should be fired. The option is a: <code>java.lang.Integer</code> type. Group: common- Parameters:
maxNumber
- the value to set- Returns:
- the dsl builder
-
maxNumber
default JBPMEndpointBuilderFactory.JBPMEndpointProducerBuilder maxNumber(String maxNumber)
the maximum number of rules that should be fired. The option will be converted to a <code>java.lang.Integer</code> type. Group: common- Parameters:
maxNumber
- the value to set- Returns:
- the dsl builder
-
page
default JBPMEndpointBuilderFactory.JBPMEndpointProducerBuilder page(Integer page)
The page to use when retrieving user tasks. The option is a: <code>java.lang.Integer</code> type. Group: common- Parameters:
page
- the value to set- Returns:
- the dsl builder
-
page
default JBPMEndpointBuilderFactory.JBPMEndpointProducerBuilder page(String page)
The page to use when retrieving user tasks. The option will be converted to a <code>java.lang.Integer</code> type. Group: common- Parameters:
page
- the value to set- Returns:
- the dsl builder
-
pageSize
default JBPMEndpointBuilderFactory.JBPMEndpointProducerBuilder pageSize(Integer pageSize)
The page size to use when retrieving user tasks. The option is a: <code>java.lang.Integer</code> type. Group: common- Parameters:
pageSize
- the value to set- Returns:
- the dsl builder
-
pageSize
default JBPMEndpointBuilderFactory.JBPMEndpointProducerBuilder pageSize(String pageSize)
The page size to use when retrieving user tasks. The option will be converted to a <code>java.lang.Integer</code> type. Group: common- Parameters:
pageSize
- the value to set- Returns:
- the dsl builder
-
processId
default JBPMEndpointBuilderFactory.JBPMEndpointProducerBuilder processId(String processId)
the id of the process that should be acted upon. The option is a: <code>java.lang.String</code> type. Group: common- Parameters:
processId
- the value to set- Returns:
- the dsl builder
-
processInstanceId
default JBPMEndpointBuilderFactory.JBPMEndpointProducerBuilder processInstanceId(Long processInstanceId)
the id of the process instance. The option is a: <code>java.lang.Long</code> type. Group: common- Parameters:
processInstanceId
- the value to set- Returns:
- the dsl builder
-
processInstanceId
default JBPMEndpointBuilderFactory.JBPMEndpointProducerBuilder processInstanceId(String processInstanceId)
the id of the process instance. The option will be converted to a <code>java.lang.Long</code> type. Group: common- Parameters:
processInstanceId
- the value to set- Returns:
- the dsl builder
-
targetUserId
default JBPMEndpointBuilderFactory.JBPMEndpointProducerBuilder targetUserId(String targetUserId)
The targetUserId used when delegating a task. The option is a: <code>java.lang.String</code> type. Group: common- Parameters:
targetUserId
- the value to set- Returns:
- the dsl builder
-
task
default JBPMEndpointBuilderFactory.JBPMEndpointProducerBuilder task(org.kie.api.task.model.Task task)
The task instance to use with task operations. The option is a: <code>org.kie.api.task.model.Task</code> type. Group: common- Parameters:
task
- the value to set- Returns:
- the dsl builder
-
task
default JBPMEndpointBuilderFactory.JBPMEndpointProducerBuilder task(String task)
The task instance to use with task operations. The option will be converted to a <code>org.kie.api.task.model.Task</code> type. Group: common- Parameters:
task
- the value to set- Returns:
- the dsl builder
-
taskId
default JBPMEndpointBuilderFactory.JBPMEndpointProducerBuilder taskId(Long taskId)
the id of the task. The option is a: <code>java.lang.Long</code> type. Group: common- Parameters:
taskId
- the value to set- Returns:
- the dsl builder
-
taskId
default JBPMEndpointBuilderFactory.JBPMEndpointProducerBuilder taskId(String taskId)
the id of the task. The option will be converted to a <code>java.lang.Long</code> type. Group: common- Parameters:
taskId
- the value to set- Returns:
- the dsl builder
-
timeout
default JBPMEndpointBuilderFactory.JBPMEndpointProducerBuilder timeout(Integer timeout)
A timeout value. The option is a: <code>java.lang.Integer</code> type. Group: common- Parameters:
timeout
- the value to set- Returns:
- the dsl builder
-
timeout
default JBPMEndpointBuilderFactory.JBPMEndpointProducerBuilder timeout(String timeout)
A timeout value. The option will be converted to a <code>java.lang.Integer</code> type. Group: common- Parameters:
timeout
- the value to set- Returns:
- the dsl builder
-
userId
default JBPMEndpointBuilderFactory.JBPMEndpointProducerBuilder userId(String userId)
userId to use with task operations. The option is a: <code>java.lang.String</code> type. Group: common- Parameters:
userId
- the value to set- Returns:
- the dsl builder
-
value
default JBPMEndpointBuilderFactory.JBPMEndpointProducerBuilder value(Object value)
the value to assign to the global identifier. The option is a: <code>java.lang.Object</code> type. Group: common- Parameters:
value
- the value to set- Returns:
- the dsl builder
-
value
default JBPMEndpointBuilderFactory.JBPMEndpointProducerBuilder value(String value)
the value to assign to the global identifier. The option will be converted to a <code>java.lang.Object</code> type. Group: common- Parameters:
value
- the value to set- Returns:
- the dsl builder
-
workItemId
default JBPMEndpointBuilderFactory.JBPMEndpointProducerBuilder workItemId(Long workItemId)
the id of the work item. The option is a: <code>java.lang.Long</code> type. Group: common- Parameters:
workItemId
- the value to set- Returns:
- the dsl builder
-
workItemId
default JBPMEndpointBuilderFactory.JBPMEndpointProducerBuilder workItemId(String workItemId)
the id of the work item. The option will be converted to a <code>java.lang.Long</code> type. Group: common- Parameters:
workItemId
- the value to set- Returns:
- the dsl builder
-
lazyStartProducer
default JBPMEndpointBuilderFactory.JBPMEndpointProducerBuilder 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 JBPMEndpointBuilderFactory.JBPMEndpointProducerBuilder 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
-
operation
default JBPMEndpointBuilderFactory.JBPMEndpointProducerBuilder operation(String operation)
The operation to perform. The option is a: <code>java.lang.String</code> type. Default: startProcess Group: producer- Parameters:
operation
- the value to set- Returns:
- the dsl builder
-
statuses
default JBPMEndpointBuilderFactory.JBPMEndpointProducerBuilder statuses(List<String> statuses)
The list of status to use when filtering tasks. The option is a: <code>java.util.List<java.lang.String></code> type. Group: filter- Parameters:
statuses
- the value to set- Returns:
- the dsl builder
-
statuses
default JBPMEndpointBuilderFactory.JBPMEndpointProducerBuilder statuses(String statuses)
The list of status to use when filtering tasks. The option will be converted to a <code>java.util.List<java.lang.String></code> type. Group: filter- Parameters:
statuses
- the value to set- Returns:
- the dsl builder
-
password
default JBPMEndpointBuilderFactory.JBPMEndpointProducerBuilder password(String password)
Password for authentication. The option is a: <code>java.lang.String</code> type. Group: security- Parameters:
password
- the value to set- Returns:
- the dsl builder
-
userName
default JBPMEndpointBuilderFactory.JBPMEndpointProducerBuilder userName(String userName)
Username for authentication. The option is a: <code>java.lang.String</code> type. Group: security- Parameters:
userName
- the value to set- Returns:
- the dsl builder
-
-