Package gg.xp.reevent.scan
Class AutoHandler
java.lang.Object
gg.xp.reevent.scan.AutoHandler
- All Implemented Interfaces:
EventHandler<Event>
,TypedEventHandler<Event>
-
Constructor Summary
ConstructorDescriptionAutoHandler
(Class<?> clazz, Method method, Object clazzInstance, AutoHandlerConfig config) -
Method Summary
Modifier and TypeMethodDescriptionClass<?>
int
getOrder()
getType()
void
handle
(EventContext context, Event event) boolean
void
setEnabled
(boolean enabled) toString()
-
Constructor Details
-
AutoHandler
-
-
Method Details
-
getOrder
public int getOrder()- Specified by:
getOrder
in interfaceEventHandler<Event>
-
toString
-
getTopoLabel
-
getTopoKey
-
getLongTopoLabel
-
getHandlerClass
-
isEnabled
public boolean isEnabled() -
setEnabled
public void setEnabled(boolean enabled) -
handle
- Specified by:
handle
in interfaceEventHandler<Event>
-
getType
- Specified by:
getType
in interfaceTypedEventHandler<Event>
-