Package org.apache.camel.spi
Class LanguageCustomizer.Builder<T extends Language>
java.lang.Object
org.apache.camel.spi.LanguageCustomizer.Builder<T>
- Type Parameters:
T
- the concrete type of theLanguage
.
- Enclosing interface:
- LanguageCustomizer
A fluent builder to create a
LanguageCustomizer
instance.-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionwithCondition
(BiPredicate<String, Language> condition) withOrder
(int order)
-
Constructor Details
-
Builder
-
-
Method Details
-
withOrder
-
withCondition
-
build
public LanguageCustomizer build(org.apache.camel.util.function.ThrowingConsumer<T, Exception> consumer) -
build
public LanguageCustomizer build(org.apache.camel.util.function.ThrowingBiConsumer<String, T, Exception> consumer)
-