Module org.elasticsearch.xcore
Class ChainTransformFactory
java.lang.Object
org.elasticsearch.xpack.core.watcher.transform.TransformFactory<ChainTransform,ChainTransform.Result,ExecutableChainTransform>
org.elasticsearch.xpack.core.watcher.transform.chain.ChainTransformFactory
public final class ChainTransformFactory
extends TransformFactory<ChainTransform,ChainTransform.Result,ExecutableChainTransform>
-
Field Summary
Fields inherited from class org.elasticsearch.xpack.core.watcher.transform.TransformFactory
transformLogger -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreateExecutable(ChainTransform chainTransform) Creates an executable transform out of the given transform.parseTransform(String watchId, org.elasticsearch.xcontent.XContentParser parser) Parses the given xcontent and creates a concrete transformtype()Methods inherited from class org.elasticsearch.xpack.core.watcher.transform.TransformFactory
parseExecutable
-
Constructor Details
-
ChainTransformFactory
-
-
Method Details
-
type
- Specified by:
typein classTransformFactory<ChainTransform,ChainTransform.Result, ExecutableChainTransform> - Returns:
- The type of the transform
-
parseTransform
public ChainTransform parseTransform(String watchId, org.elasticsearch.xcontent.XContentParser parser) throws IOException Description copied from class:TransformFactoryParses the given xcontent and creates a concrete transform- Specified by:
parseTransformin classTransformFactory<ChainTransform,ChainTransform.Result, ExecutableChainTransform> - Parameters:
watchId- The id of the watchparser- The parsing that contains the condition content- Throws:
IOException
-
createExecutable
Description copied from class:TransformFactoryCreates an executable transform out of the given transform.- Specified by:
createExecutablein classTransformFactory<ChainTransform,ChainTransform.Result, ExecutableChainTransform>
-