Class SeverityMapping.EvaluationResult

  • All Implemented Interfaces:
    org.elasticsearch.xcontent.ToXContent, org.elasticsearch.xcontent.ToXContentObject
    Enclosing class:
    SeverityMapping

    public static class SeverityMapping.EvaluationResult
    extends Object
    implements org.elasticsearch.xcontent.ToXContentObject
    • Method Detail

      • getValue

        public Number getValue()
      • getThreshold

        public Number getThreshold()
      • getName

        public String getName()
      • getId

        public String getId()
      • toXContent

        public org.elasticsearch.xcontent.XContentBuilder toXContent​(org.elasticsearch.xcontent.XContentBuilder builder,
                                                                     org.elasticsearch.xcontent.ToXContent.Params params)
                                                              throws IOException
        Specified by:
        toXContent in interface org.elasticsearch.xcontent.ToXContent
        Throws:
        IOException
      • create

        public static SeverityMapping.EvaluationResult create​(com.fasterxml.jackson.databind.JsonNode jsonNode)
                                                       throws com.floragunn.searchsupport.config.validation.ConfigValidationException
        Throws:
        com.floragunn.searchsupport.config.validation.ConfigValidationException