Interface FEELEvent
-
public interface FEELEventAn interface for FEEL related events
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classFEELEvent.Severity
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description intgetColumn()In case the event refers to the source code, returns the character in the line of the the source code where the event was generated or -1 if it does not refer to a source code character.intgetLine()In case the event refers to the source code, returns the line in the source code where the event was generated or -1 if it does not refer to a source code line.java.lang.StringgetMessage()Returns a human readable message about the eventjava.lang.ObjectgetOffendingSymbol()In case the event refers to a symbol in the source code, this method returns the offending symbol, as an ANTLR CommonToken instance.FEELEvent.SeveritygetSeverity()Returns the severity of the eventjava.lang.ThrowablegetSourceException()In case the event relates to an exception, returns the caught Throwable
-
-
-
Method Detail
-
getSeverity
FEELEvent.Severity getSeverity()
Returns the severity of the event- Returns:
-
getMessage
java.lang.String getMessage()
Returns a human readable message about the event- Returns:
-
getSourceException
java.lang.Throwable getSourceException()
In case the event relates to an exception, returns the caught Throwable- Returns:
-
getLine
int getLine()
In case the event refers to the source code, returns the line in the source code where the event was generated or -1 if it does not refer to a source code line. The line is 1-based. I.e., the first line is 1, second line is 2, etc.- Returns:
-
getColumn
int getColumn()
In case the event refers to the source code, returns the character in the line of the the source code where the event was generated or -1 if it does not refer to a source code character. The column is 0-based. I.e. the first character in the line is 0, the second is 1, and so on.- Returns:
-
getOffendingSymbol
java.lang.Object getOffendingSymbol()
In case the event refers to a symbol in the source code, this method returns the offending symbol, as an ANTLR CommonToken instance. Otherwise, it returns null.- Returns:
-
-