Class InvalidAttributeValue

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

    public class InvalidAttributeValue
    extends ValidationError
    • Constructor Detail

      • InvalidAttributeValue

        public InvalidAttributeValue​(String attribute,
                                     Object value,
                                     Object expected,
                                     com.fasterxml.jackson.databind.JsonNode jsonNode)
      • InvalidAttributeValue

        public InvalidAttributeValue​(String attribute,
                                     Object value,
                                     Object expected)
    • Method Detail

      • getExpected

        public Object getExpected()
      • 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
        Overrides:
        toXContent in class ValidationError
        Throws:
        IOException