Package com._1c.g5.v8.dt.md
Class EventSubscriptionEventsProvider
- java.lang.Object
-
- com._1c.g5.v8.dt.md.EventSubscriptionEventsProvider
-
public class EventSubscriptionEventsProvider extends Object
Available events provider forEventSubscription
-
-
Constructor Summary
Constructors Constructor Description EventSubscriptionEventsProvider()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Set<Event>getEvents(EventSubscription eventSubscription)Set of events that can be set in givenEventSubscriptioncontext as event.Set<Event>getEvents(EventSubscription context, TypeDescription typeDescription)Set of events that can be set in givenEventSubscriptioncontext as event.
-
-
-
Method Detail
-
getEvents
public Set<Event> getEvents(EventSubscription eventSubscription)
Set of events that can be set in givenEventSubscriptioncontext as event. Equals to invocation ofgetEvents(EventSubscription, TypeDescription)with the given eventSubscribion andEventSubscription.getSource()as arguments.- Parameters:
eventSubscription- the context object, nevernull.- Returns:
- set of possible events for given context, never
null.
-
getEvents
public Set<Event> getEvents(EventSubscription context, TypeDescription typeDescription)
Set of events that can be set in givenEventSubscriptioncontext as event.- Parameters:
context- the context object, nevernull.typeDescription- the type description.- Returns:
- set of possible events for given context, never
null.
-
-