Uses of Enum Class
org.mycore.common.events.MCREvent.ObjectType
-
Uses of MCREvent.ObjectType in org.mycore.common.events
Modifier and TypeMethodDescriptionstatic MCREvent.ObjectType
MCREvent.ObjectType.fromClassName
(String className) MCREvent.getObjectType()
Returns the object type of this eventstatic MCREvent.ObjectType
Returns the enum constant of this class with the specified name.static MCREvent.ObjectType[]
MCREvent.ObjectType.values()
Returns an array containing the constants of this enum class, in the order they are declared.Modifier and TypeMethodDescriptionMCREventManager.addEventHandler
(MCREvent.ObjectType type, MCREventHandler handler) Appends the event handler to the end of the list.MCREventManager.addEventHandler
(MCREvent.ObjectType type, MCREventHandler handler, int index) Inserts the event handler at the specified position.MCREventManager.removeEventHandler
(MCREvent.ObjectType type) Removes all event handler of the specified type.MCREventManager.removeEventHandler
(MCREvent.ObjectType type, MCREventHandler handler) Removes the specified event handler.ModifierConstructorDescriptionMCREvent
(MCREvent.ObjectType objType, MCREvent.EventType evtType) Creates a new event object of the given object type (object, file) and event type (create, update, delete)