Package org.openrewrite.polyglot
Class PolyglotValueMappings.RecipeDescriptorMapping
- java.lang.Object
-
- org.openrewrite.polyglot.PolyglotValueMappings.RecipeDescriptorMapping
-
- All Implemented Interfaces:
java.util.function.Function<org.graalvm.polyglot.Value,RecipeDescriptor>,java.util.function.Predicate<org.graalvm.polyglot.Value>,PolyglotMapping<org.graalvm.polyglot.Value,RecipeDescriptor>,PolyglotValueMappings.FromValuePolyglotMapping<RecipeDescriptor>
- Enclosing interface:
- PolyglotValueMappings
public static class PolyglotValueMappings.RecipeDescriptorMapping extends java.lang.Object implements PolyglotValueMappings.FromValuePolyglotMapping<RecipeDescriptor>
-
-
Constructor Summary
Constructors Constructor Description RecipeDescriptorMapping()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description RecipeDescriptorapply(org.graalvm.polyglot.Value v)java.lang.Class<RecipeDescriptor>outputType()booleantest(org.graalvm.polyglot.Value value)-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.openrewrite.polyglot.PolyglotValueMappings.FromValuePolyglotMapping
inputType
-
-
-
-
Method Detail
-
outputType
public java.lang.Class<RecipeDescriptor> outputType()
- Specified by:
outputTypein interfacePolyglotMapping<org.graalvm.polyglot.Value,RecipeDescriptor>
-
test
public boolean test(org.graalvm.polyglot.Value value)
- Specified by:
testin interfacejava.util.function.Predicate<org.graalvm.polyglot.Value>
-
apply
public RecipeDescriptor apply(org.graalvm.polyglot.Value v)
- Specified by:
applyin interfacejava.util.function.Function<org.graalvm.polyglot.Value,RecipeDescriptor>
-
-