Class Debug


  • public class Debug
    extends java.lang.Object
    Utility methods for debugging painless scripts that are accessible to painless scripts.
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static void explain​(java.lang.Object objectToExplain)
      Throw an Error that "explains" an object.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • explain

        public static void explain​(java.lang.Object objectToExplain)
                            throws org.elasticsearch.painless.PainlessExplainError
        Throw an Error that "explains" an object.
        Throws:
        org.elasticsearch.painless.PainlessExplainError