Interface ConditionFactory


public interface ConditionFactory
Parses xcontent to a concrete condition of the same type.
  • Method Summary

    Modifier and Type
    Method
    Description
    parse(Clock clock, String watchId, org.elasticsearch.xcontent.XContentParser parser)
    Parses 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 watch
      parser - The parsing that contains the condition content
      Throws:
      IOException