Package org.kie.dmn.api.core
Interface DMNMessage
-
- All Superinterfaces:
org.kie.internal.builder.InternalMessage,org.kie.api.builder.Message
public interface DMNMessage extends org.kie.internal.builder.InternalMessageA general message interface for all DMN related messages raised during compilation and execution.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classDMNMessage.Severity
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description java.lang.ThrowablegetException()If this message relates to a java exception, this method returns a reference to the actual Throwable object.FEELEventgetFeelEvent()If this message relates to a FEEL compilation or runtime event, this method returns the reference to the actual FEEL event.java.lang.StringgetMessage()Deprecated.useMessage.getText()instead.DMNMessageTypegetMessageType()Returns a classification of the event that raised the message.DMNMessage.SeveritygetSeverity()Deprecated.useMessage.getLevel()instead.java.lang.StringgetSourceId()Returns the ID of the model element to which this message relates to or null if this message does not refer to a specific model element.java.lang.ObjectgetSourceReference()Returns the actual model element reference to which this message relates to or null if this message does not refer to a specific model element.
-
-
-
Method Detail
-
getSeverity
@Deprecated DMNMessage.Severity getSeverity()
Deprecated.useMessage.getLevel()instead.Returns the severity of the message. Either TRACE, INFO, WARN or ERROR
-
getMessage
@Deprecated java.lang.String getMessage()
Deprecated.useMessage.getText()instead.Returns a human readable text with the explanation of the event that raised the message.
-
getMessageType
DMNMessageType getMessageType()
Returns a classification of the event that raised the message.- Returns:
-
getSourceId
java.lang.String getSourceId()
Returns the ID of the model element to which this message relates to or null if this message does not refer to a specific model element.- Returns:
-
getSourceReference
java.lang.Object getSourceReference()
Returns the actual model element reference to which this message relates to or null if this message does not refer to a specific model element.- Returns:
-
getFeelEvent
FEELEvent getFeelEvent()
If this message relates to a FEEL compilation or runtime event, this method returns the reference to the actual FEEL event.- Returns:
-
getException
java.lang.Throwable getException()
If this message relates to a java exception, this method returns a reference to the actual Throwable object.- Returns:
-
-