isInstanceEventPossible

abstract fun <T : Any> isInstanceEventPossible(eventReference: EventReference, model: Model<T>, parameters: Any?): Boolean

Checks if a normal event is possible

Parameters

parameters

should be null if the event doesn't take any parameters. It CAN be null even if the event takes parameters, in which case rules dealing with parameters will not be evaluated. This means that the result can be false positive, i.e. this function says that an event is possible but there is no combination of parameters that will result in an accepted event.