Module org.elasticsearch.xcore
Interface ConditionFactory
public interface ConditionFactory
Parses xcontent to a concrete condition of the same type.
-
Method Summary
Modifier and TypeMethodDescriptionparse(Clock clock, String watchId, XContentParser parser) Parses the given xcontent and creates a concrete condition
-
Method Details
-
parse
Parses the given xcontent and creates a concrete condition- Parameters:
watchId- The id of the watchparser- The parsing that contains the condition content- Throws:
IOException
-