Package org.apache.camel.spi
Class DataFormatCustomizer.Builder<T extends DataFormat>
- java.lang.Object
-
- org.apache.camel.spi.DataFormatCustomizer.Builder<T>
-
- Type Parameters:
T
- the concrete type of theDataFormat
.
- Enclosing interface:
- DataFormatCustomizer
public static class DataFormatCustomizer.Builder<T extends DataFormat> extends Object
A fluent builder to create aDataFormatCustomizer
instance.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DataFormatCustomizer
build(org.apache.camel.util.function.ThrowingBiConsumer<String,T,Exception> consumer)
DataFormatCustomizer
build(org.apache.camel.util.function.ThrowingConsumer<T,Exception> consumer)
DataFormatCustomizer.Builder<T>
withCondition(BiPredicate<String,DataFormat> condition)
DataFormatCustomizer.Builder<T>
withOrder(int order)
-
-
-
Method Detail
-
withOrder
public DataFormatCustomizer.Builder<T> withOrder(int order)
-
withCondition
public DataFormatCustomizer.Builder<T> withCondition(BiPredicate<String,DataFormat> condition)
-
build
public DataFormatCustomizer build(org.apache.camel.util.function.ThrowingConsumer<T,Exception> consumer)
-
build
public DataFormatCustomizer build(org.apache.camel.util.function.ThrowingBiConsumer<String,T,Exception> consumer)
-
-