Class JavaScriptDslConsumer<T>
java.lang.Object
org.apache.camel.quarkus.dsl.js.runtime.JavaScriptDslConsumer<T>
- Type Parameters:
T- the type of the input to the operation
- All Implemented Interfaces:
Consumer<T>
JavaScriptDslConsumer is meant to be used as type of Consumer from a JavaScript file to remain
compatible
with the native mode that doesn't support the function Java.extend.-
Constructor Summary
ConstructorsConstructorDescriptionJavaScriptDslConsumer(CharSequence source) Construct aJavaScriptDslConsumerwith the given source andtas argument name.JavaScriptDslConsumer(String argumentName, CharSequence source) Construct aJavaScriptDslConsumerwith the given source and argument name. -
Method Summary
-
Constructor Details
-
JavaScriptDslConsumer
Construct aJavaScriptDslConsumerwith the given source andtas argument name.- Parameters:
source- the source of the consumer.
-
JavaScriptDslConsumer
Construct aJavaScriptDslConsumerwith the given source and argument name.- Parameters:
argumentName- the name of the argument.source- the source of the consumer.
-
-
Method Details