Parameters declared in a class annotated with Event that are used in OnTrigger
For example:
@LayoutSpec
public class ComponentSpec {
@OnTrigger(YourEvent.class)
static Object yourEventClick(ComponentContext c,@FromTrigger YourObject obj) {
return new Object();
}
}