Interface OptaPlannerEndpointBuilderFactory.OptaPlannerEndpointConsumerBuilder
- All Superinterfaces:
org.apache.camel.builder.EndpointConsumerBuilder,org.apache.camel.EndpointConsumerResolver
- All Known Subinterfaces:
OptaPlannerEndpointBuilderFactory.OptaPlannerEndpointBuilder
- Enclosing interface:
OptaPlannerEndpointBuilderFactory
public static interface OptaPlannerEndpointBuilderFactory.OptaPlannerEndpointConsumerBuilder
extends org.apache.camel.builder.EndpointConsumerBuilder
Builder for endpoint consumers for the OptaPlanner component.
-
Method Summary
Modifier and TypeMethodDescriptionadvanced()configFile(String configFile) If SolverManager is absent from the header OptaPlannerConstants.SOLVER_MANAGER then a SolverManager will be created using this Optaplanner config file.In case of using SolverManager : the problem id.In case of using SolverManager : the problem id.Specifies the solverId to user for the solver instance key.Methods inherited from interface org.apache.camel.builder.EndpointConsumerBuilder
doSetMultiValueProperties, doSetMultiValueProperty, doSetProperty, expr, getRawUri, getUriMethods inherited from interface org.apache.camel.EndpointConsumerResolver
resolve, resolve
-
Method Details
-
advanced
-
configFile
default OptaPlannerEndpointBuilderFactory.OptaPlannerEndpointConsumerBuilder configFile(String configFile) If SolverManager is absent from the header OptaPlannerConstants.SOLVER_MANAGER then a SolverManager will be created using this Optaplanner config file. The option is a:java.lang.Stringtype. Group: common- Parameters:
configFile- the value to set- Returns:
- the dsl builder
-
problemId
default OptaPlannerEndpointBuilderFactory.OptaPlannerEndpointConsumerBuilder problemId(Long problemId) In case of using SolverManager : the problem id. The option is a:java.lang.Longtype. Default: 1L Group: common- Parameters:
problemId- the value to set- Returns:
- the dsl builder
-
problemId
default OptaPlannerEndpointBuilderFactory.OptaPlannerEndpointConsumerBuilder problemId(String problemId) In case of using SolverManager : the problem id. The option will be converted to ajava.lang.Longtype. Default: 1L Group: common- Parameters:
problemId- the value to set- Returns:
- the dsl builder
-
solverId
default OptaPlannerEndpointBuilderFactory.OptaPlannerEndpointConsumerBuilder solverId(String solverId) Specifies the solverId to user for the solver instance key. The option is a:java.lang.Stringtype. Default: DEFAULT_SOLVER Group: common- Parameters:
solverId- the value to set- Returns:
- the dsl builder
-