Esempio n. 1
0
 public static SampleEvent event(String name, String method, Object... eventObjects) {
   SampleEvent te = new SampleEvent();
   te.setName(name);
   te.setMethod(method);
   te.setEventObjects(eventObjects);
   return te;
 }
Esempio n. 2
0
 public static SampleEvent event(Class<?> event, String method, Object... eventObjects) {
   SampleEvent te = new SampleEvent();
   te.setEvent(event);
   te.setMethod(method);
   te.setEventObjects(eventObjects);
   return te;
 }
Esempio n. 3
0
 public static SampleEvent event(Class<?> event, Object... eventObjects) {
   SampleEvent te = new SampleEvent();
   te.setEvent(event);
   te.setEventObjects(eventObjects);
   return te;
 }