com.ekuefler.supereventbus.multievent
Annotation Type EventTypes


@Documented
@Inherited
@Target(value=PARAMETER)
public @interface EventTypes

An annotation that, when applied to a parameter of type MultiEvent, specifies which types of events that method should listen for. See MultiEvent for more details and examples.

This annotation must be applied only to parameters of type MultiEvent on methods annotated with Subscribe.

Author:
ekuefler@gmail.com (Erik Kuefler)

Required Element Summary
 Class<?>[] value
          The list of types for which this event handler should listen.
 

Element Detail

value

public abstract Class<?>[] value
The list of types for which this event handler should listen. A posted event will cause the underlying event handler to be invoked if an only if it is assignable to one of the types in this list. Classes in this list must not be assignable to any other classes in this list.



Copyright © 2013. All Rights Reserved.