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