Class SeverityLevel.Set

  • All Implemented Interfaces:
    org.elasticsearch.xcontent.ToXContent
    Enclosing class:
    SeverityLevel

    public static class SeverityLevel.Set
    extends Object
    implements org.elasticsearch.xcontent.ToXContent
    • Method Detail

      • createWithNoneDisallowed

        public static SeverityLevel.Set createWithNoneDisallowed​(com.fasterxml.jackson.databind.JsonNode jsonNode)
                                                          throws com.floragunn.searchsupport.config.validation.ConfigValidationException
        Throws:
        com.floragunn.searchsupport.config.validation.ConfigValidationException
      • 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
      • size

        public int size()