Module org.elasticsearch.xcore
Class TransformRegistry
java.lang.Object
org.elasticsearch.xpack.core.watcher.transform.TransformRegistry
-
Constructor Summary
ConstructorsConstructorDescriptionTransformRegistry(Map<String, TransformFactory<? extends Transform, ? extends Transform.Result, ? extends ExecutableTransform<?, ?>>> factories) -
Method Summary
Modifier and TypeMethodDescriptionTransformFactory<? extends Transform, ? extends Transform.Result, ? extends ExecutableTransform<?, ?>> ExecutableTransform<? extends Transform, ? extends Transform.Result> parseTransform(String watchId, String type, org.elasticsearch.xcontent.XContentParser parser)
-
Constructor Details
-
TransformRegistry
public TransformRegistry(Map<String, TransformFactory<? extends Transform, ? extends Transform.Result, ? extends ExecutableTransform<?, ?>>> factories)
-
-
Method Details
-
factory
public TransformFactory<? extends Transform,? extends Transform.Result, factory? extends ExecutableTransform<?, ?>> (String type) -
parse
public ExecutableTransform<? extends Transform,? extends Transform.Result> parse(String watchId, org.elasticsearch.xcontent.XContentParser parser) throws IOException - Throws:
IOException
-
parseTransform
public Transform parseTransform(String watchId, String type, org.elasticsearch.xcontent.XContentParser parser) throws IOException - Throws:
IOException
-