Package com._1c.g5.aef2.events
Interface IServiceEventQualifier
-
- All Known Implementing Classes:
DerivedDataObjectStatusEventQualifier
,ServiceEventQualifier
public interface IServiceEventQualifier
The qualifier forIServiceEvent
.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description Class<? extends IServiceEvent>
getServiceEventClass()
Returns the class of theIServiceEvent
that the qualifier covers.default boolean
test(IServiceEvent event)
Tests the given event belongs to qualifier.
-
-
-
Method Detail
-
getServiceEventClass
Class<? extends IServiceEvent> getServiceEventClass()
Returns the class of theIServiceEvent
that the qualifier covers.- Returns:
- the class of the
IServiceEvent
, nevernull
.
-
test
default boolean test(IServiceEvent event)
Tests the given event belongs to qualifier. By default returnstrue
if thegetServiceEventClass()
is assignable from event class.- Parameters:
event
- the event.- Returns:
true
the given event belongs to qualifier,false
- overwise.
-
-