Module org.elasticsearch.xcore
Interface ConditionFactory
public interface ConditionFactory
Parses xcontent to a concrete condition of the same type.
-
Method Summary
Modifier and TypeMethodDescriptionParses the given xcontent and creates a concrete condition
-
Method Details
-
parse
ExecutableCondition parse(Clock clock, String watchId, org.elasticsearch.xcontent.XContentParser parser) throws IOException 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
-