Created the EventData
This commit is contained in:
parent
c67ce9a93b
commit
0c04106254
@ -0,0 +1,21 @@
|
|||||||
|
package de.gnmyt.autoresponder.event.api;
|
||||||
|
|
||||||
|
import java.lang.reflect.Method;
|
||||||
|
|
||||||
|
public class EventData {
|
||||||
|
|
||||||
|
public final Object object;
|
||||||
|
public final Method method;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Constructor of the {@link EventData}
|
||||||
|
*
|
||||||
|
* @param object The registered event object
|
||||||
|
* @param method The registered event method
|
||||||
|
*/
|
||||||
|
public EventData(Object object, Method method) {
|
||||||
|
this.object = object;
|
||||||
|
this.method = method;
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
Reference in New Issue
Block a user