Class ErrorInfo

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

    public class ErrorInfo
    extends Object
    implements org.elasticsearch.xcontent.ToXContentObject
    • Nested Class Summary

      • Nested classes/interfaces inherited from interface org.elasticsearch.xcontent.ToXContent

        org.elasticsearch.xcontent.ToXContent.DelegatingMapParams, org.elasticsearch.xcontent.ToXContent.MapParams, org.elasticsearch.xcontent.ToXContent.Params
    • Field Summary

      • Fields inherited from interface org.elasticsearch.xcontent.ToXContent

        EMPTY_PARAMS
    • Constructor Summary

      Constructors 
      Constructor Description
      ErrorInfo​(String check, String message, org.elasticsearch.xcontent.ToXContent detail)  
    • Constructor Detail

      • ErrorInfo

        public ErrorInfo​(String check,
                         String message,
                         org.elasticsearch.xcontent.ToXContent detail)
    • Method Detail

      • getCheck

        public String getCheck()
      • setCheck

        public void setCheck​(String check)
      • getMessage

        public String getMessage()
      • setMessage

        public void setMessage​(String message)
      • getDetail

        public org.elasticsearch.xcontent.ToXContent getDetail()
      • setDetail

        public void setDetail​(org.elasticsearch.xcontent.ToXContent detail)
      • 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