Package com._1c.g5.aef2.events
Interface IServiceEventQualifier
- All Known Implementing Classes:
DerivedDataObjectStatusEventQualifier
,ServiceEventQualifier
public interface IServiceEventQualifier
The qualifier for
IServiceEvent
.-
Method Summary
Modifier and TypeMethodDescriptionClass<? extends IServiceEvent>
Returns the class of theIServiceEvent
that the qualifier covers.default boolean
test
(IServiceEvent event) Tests the given event belongs to qualifier.
-
Method Details
-
getServiceEventClass
Class<? extends IServiceEvent> getServiceEventClass()Returns the class of theIServiceEvent
that the qualifier covers.- Returns:
- the class of the
IServiceEvent
, nevernull
.
-
test
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.
-