EventReactorClass

public final class EventReactorClass<S extends EventReactor> extends ModelClass<T> implements ReactingClass

Provides information on an EventReactor class.

Parameters

<S>

the type of event reactors

Functions

Link copied to clipboard
public static EventReactorClass<S> asReactorClass<S extends EventReactor>(Class<S> cls)
Creates new instance for the given raw class.
Link copied to clipboard
public ImmutableSet<EventClass> domesticEvents()
Obtains a set of domestic events which this class receives.
Link copied to clipboard
public ImmutableSet<EventClass> events()
Obtains a set of event classes which this class receives.
Link copied to clipboard
public ImmutableSet<EventClass> externalEvents()
Obtains a set of external events which this class receives.
Link copied to clipboard
public ImmutableSet<EventClass> reactionOutput()
Obtains the classes of events produced from the event reaction.
Link copied to clipboard
public EventReactorMethod reactorOf(EventClass eventClass, MessageClass<?> originClass)
Obtains the method that reacts on the events of the passed class.

Inherited functions

Link copied to clipboard
protected static ModelClass<T> get<T, M extends ModelClass<T>>(Class<T> rawClass, Class<M> requestedModelClass, Supplier<ModelClass<T>> supplier)
Obtains the model class for the passed raw class.