Interface FEELEvent
-
public interface FEELEvent
An interface for FEEL related events
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static class
FEELEvent.Severity
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description 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.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.String
getMessage()
Returns a human readable message about the eventObject
getOffendingSymbol()
In case the event refers to a symbol in the source code, this method returns the offending symbol, as an ANTLR CommonToken instance.FEELEvent.Severity
getSeverity()
Returns the severity of the eventThrowable
getSourceException()
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
String getMessage()
Returns a human readable message about the event- Returns:
-
getSourceException
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
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:
-
-