java.lang.Object
edu.internet2.middleware.grouperClientExt.org.apache.commons.jexl2.DebugInfo
All Implemented Interfaces:
JexlInfo

public class DebugInfo extends Object implements JexlInfo
Helper class to carry in info such as a url/file name, line and column for debugging information reporting.
  • Constructor Details

    • DebugInfo

      public DebugInfo(String tn, int l, int c)
      Create info.
      Parameters:
      tn - template name
      l - line number
      c - column
  • Method Details

    • toString

      public String toString()
      Formats this info in the form 'name@line:column'.
      Overrides:
      toString in class Object
      Returns:
      the formatted info
    • debugString

      public String debugString()
      Formats this information for debugging purpose.
      Specified by:
      debugString in interface JexlInfo
      Returns:
      a human readable string.
    • debugInfo

      public DebugInfo debugInfo()
      Gets the underlying debugging information.
      Specified by:
      debugInfo in interface JexlInfo
      Returns:
      a debug info instance
      Since:
      2.1
    • getName

      public String getName()
      Gets the file/script/url name.
      Returns:
      template name
    • getLine

      public int getLine()
      Gets the line number.
      Returns:
      line number.
    • getColumn

      public int getColumn()
      Gets the column number.
      Returns:
      the column.