Index
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
A
- AbstractEventService - Class in net.orbyfied.j8.event.service
- AbstractEventService(EventBus) - Constructor for class net.orbyfied.j8.event.service.AbstractEventService
- addLast(Handler<E>) - Method in class net.orbyfied.j8.event.pipeline.impl.BasicPipeline
-
Adds a handler to the tail of the pipeline.
- addService(EventService) - Method in class net.orbyfied.j8.event.ComplexEventBus
B
- back() - Method in interface net.orbyfied.j8.event.pipeline.PipelineHandlerAction
- bake(Class<?>) - Method in class net.orbyfied.j8.event.EventBus
-
Bakes the event; prepares it.
- bake(Class<?>) - Method in interface net.orbyfied.j8.event.service.FunctionalEventService
- base() - Method in class net.orbyfied.j8.event.pipeline.impl.BasicPipeline
- base() - Method in interface net.orbyfied.j8.event.pipeline.PipelineAccess
-
Gets the base pipeline.
- base(PipelineConverter<T>) - Method in class net.orbyfied.j8.event.pipeline.impl.BasicPipeline
- base(PipelineConverter<T>) - Method in interface net.orbyfied.j8.event.pipeline.PipelineAccess
- BasicHandler - Annotation Interface in net.orbyfied.j8.event.handler
-
Denotes a basic event handler method.
- BasicHandler.Provider - Class in net.orbyfied.j8.event.handler
- BasicPipeline<E> - Class in net.orbyfied.j8.event.pipeline.impl
-
A list of handlers capable of processing events.
- BasicPipeline() - Constructor for class net.orbyfied.j8.event.pipeline.impl.BasicPipeline
- bus - Variable in class net.orbyfied.j8.event.service.AbstractEventService
- BusEvent - Class in net.orbyfied.j8.event
-
An event that is invoked by an event bus.
- BusEvent() - Constructor for class net.orbyfied.j8.event.BusEvent
- BusHandler - Class in net.orbyfied.j8.event
-
Represents a handler bound to a specific event bus and registered listener.
- BusHandler(EventBus, RegisteredListener, HandlerProvider<?>) - Constructor for class net.orbyfied.j8.event.BusHandler
- BusPipelineFactory - Interface in net.orbyfied.j8.event.pipeline
C
- Cancellable - Interface in net.orbyfied.j8.event.impl
-
An event that can be cancelled.
- carried() - Method in class net.orbyfied.j8.event.pipeline.Event
-
Returns an immutable map containing all key-value pairs carried.
- carried(String) - Method in class net.orbyfied.j8.event.pipeline.Event
-
Gets the value corresponding with the specified key.
- carried(String, Class<T>) - Method in class net.orbyfied.j8.event.pipeline.Event
-
Gets the value corresponding with the specified key.
- carried(String, Class<T>, T) - Method in class net.orbyfied.j8.event.pipeline.Event
-
Gets the value corresponding with the specified key.
- carried(String, T) - Method in class net.orbyfied.j8.event.pipeline.Event
-
Gets the value corresponding with the specified key.
- carries(String) - Method in class net.orbyfied.j8.event.pipeline.Event
-
Checks if it carries the key.
- carry(String, T) - Method in class net.orbyfied.j8.event.pipeline.Event
-
Carries a new key-value pair.
- ComplexEventBus - Class in net.orbyfied.j8.event
- ComplexEventBus() - Constructor for class net.orbyfied.j8.event.ComplexEventBus
- configure(BusHandler, A) - Method in interface net.orbyfied.j8.event.handler.HandlerProvider
- configure(BusHandler, BasicHandler) - Method in class net.orbyfied.j8.event.handler.BasicHandler.Provider
- convert(Pipeline) - Method in interface net.orbyfied.j8.event.pipeline.PipelineConverter
- createPipeline(EventBus, Class) - Method in interface net.orbyfied.j8.event.pipeline.BusPipelineFactory
D
- destroy() - Method in class net.orbyfied.j8.event.BusHandler
- destroy() - Method in class net.orbyfied.j8.event.RegisteredListener
-
Unregisters and destroys this listener.
- dynamic(boolean) - Method in class net.orbyfied.j8.event.RegisteredListener
-
Configure if this listener is dynamic.
E
- Event - Class in net.orbyfied.j8.event.pipeline
-
Base event class.
- Event() - Constructor for class net.orbyfied.j8.event.pipeline.Event
- EventBus - Class in net.orbyfied.j8.event
-
The main event system class.
- EventBus() - Constructor for class net.orbyfied.j8.event.EventBus
- EventException - Exception in net.orbyfied.j8.event
- EventException(EventBus, Exception) - Constructor for exception net.orbyfied.j8.event.EventException
- EventException(EventBus, String) - Constructor for exception net.orbyfied.j8.event.EventException
- EventException(EventBus, String, Exception) - Constructor for exception net.orbyfied.j8.event.EventException
- EventInvocationException - Exception in net.orbyfied.j8.event
- EventInvocationException(EventBus, Exception) - Constructor for exception net.orbyfied.j8.event.EventInvocationException
- EventInvocationException(EventBus, String) - Constructor for exception net.orbyfied.j8.event.EventInvocationException
- EventInvocationException(EventBus, String, Exception) - Constructor for exception net.orbyfied.j8.event.EventInvocationException
- EventListener - Interface in net.orbyfied.j8.event
-
Used to denote classes that listen to events.
- EventService - Interface in net.orbyfied.j8.event.service
-
A service that can be applied to an event bus.
F
- forBasicPipeline(Pipeline) - Static method in interface net.orbyfied.j8.event.handler.HandlerProvider
- FunctionalEventService - Interface in net.orbyfied.j8.event.service
G
- get() - Method in interface net.orbyfied.j8.event.pipeline.PipelineHandlerAction
- getAllRegistered() - Method in class net.orbyfied.j8.event.EventBus
-
Gets all registered listeners.
- getAllRegistered(Class<? extends EventListener>) - Method in class net.orbyfied.j8.event.EventBus
-
Gets all registered listeners for the specified class.
- getBus() - Method in class net.orbyfied.j8.event.BusHandler
- getBus() - Method in exception net.orbyfied.j8.event.EventException
- getBus() - Method in class net.orbyfied.j8.event.service.AbstractEventService
- getBus() - Method in interface net.orbyfied.j8.event.service.EventService
- getDelegate() - Method in class net.orbyfied.j8.event.BusHandler
- getEstimatedPosition() - Method in interface net.orbyfied.j8.event.handler.priority.HandlerPriority
- getEstimatedPosition() - Method in enum class net.orbyfied.j8.event.handler.priority.Priorities
- getEventClass() - Method in exception net.orbyfied.j8.event.InvalidEventException
- getListener() - Method in class net.orbyfied.j8.event.BusHandler
- getMessage() - Method in exception net.orbyfied.j8.event.InvalidEventException
- getOrdinal() - Method in interface net.orbyfied.j8.event.handler.priority.HandlerPriority
- getOrdinal() - Method in enum class net.orbyfied.j8.event.handler.priority.Priorities
- getPipeline(EventBus) - Static method in class net.orbyfied.j8.event.BusEvent
-
This has to be implemented by ALL events, and it must not be obfuscated.
- getPipelineFor(Class<?>) - Method in class net.orbyfied.j8.event.EventBus
-
Retrieves the pipeline of an event for this event bus from either the cache, the
BusEvent.getPipeline(EventBus)method or theEventBus.defaultPipelineFactory. - getPipelineOrNull(Class<?>) - Method in class net.orbyfied.j8.event.EventBus
- getProperties() - Method in class net.orbyfied.j8.event.BusHandler
- getProperty(Object) - Method in class net.orbyfied.j8.event.BusHandler
- getProvider() - Method in class net.orbyfied.j8.event.BusHandler
- getRegistered(Class<? extends EventListener>) - Method in class net.orbyfied.j8.event.EventBus
-
Gets the latest registered listener with the specified class.
- getService(Class<S>) - Method in class net.orbyfied.j8.event.ComplexEventBus
- getServicesLinear() - Method in class net.orbyfied.j8.event.ComplexEventBus
- getServicesMapped() - Method in class net.orbyfied.j8.event.ComplexEventBus
- getStatus() - Method in class net.orbyfied.j8.event.BusHandler
H
- handle(E) - Method in interface net.orbyfied.j8.event.pipeline.Handler
-
Handles the event.
- handle(Class<E>, Handler) - Method in class net.orbyfied.j8.event.RegisteredListener
-
Adds any generic behaviour handler to this listener.
- handle(Object) - Method in class net.orbyfied.j8.event.BusHandler
- handler(Handler) - Method in class net.orbyfied.j8.event.pipeline.impl.BasicPipeline
- handler(Handler) - Method in interface net.orbyfied.j8.event.pipeline.Pipeline
- Handler<E> - Interface in net.orbyfied.j8.event.pipeline
-
An event handler in a pipeline.
- HANDLER_PROPERTY_EVENT_CLASS - Static variable in class net.orbyfied.j8.event.RegisteredListener
- HandlerDescriptor - Annotation Interface in net.orbyfied.j8.event.handler
- HandlerPriority - Interface in net.orbyfied.j8.event.handler.priority
- HandlerProvider<A extends Annotation> - Interface in net.orbyfied.j8.event.handler
- handlers() - Method in class net.orbyfied.j8.event.pipeline.impl.BasicPipeline
- HIGH - Enum constant in enum class net.orbyfied.j8.event.handler.priority.Priorities
- HIGHER - Enum constant in enum class net.orbyfied.j8.event.handler.priority.Priorities
- HIGHEST - Enum constant in enum class net.orbyfied.j8.event.handler.priority.Priorities
I
- InternalBusException - Exception in net.orbyfied.j8.event
- InternalBusException(EventBus, Exception) - Constructor for exception net.orbyfied.j8.event.InternalBusException
- InternalBusException(EventBus, String) - Constructor for exception net.orbyfied.j8.event.InternalBusException
- InternalBusException(EventBus, String, Exception) - Constructor for exception net.orbyfied.j8.event.InternalBusException
- InvalidEventException - Exception in net.orbyfied.j8.event
- InvalidEventException(EventBus, Class<?>, Exception) - Constructor for exception net.orbyfied.j8.event.InvalidEventException
- InvalidEventException(EventBus, Class<?>, String) - Constructor for exception net.orbyfied.j8.event.InvalidEventException
- InvalidEventException(EventBus, Class<?>, String, Exception) - Constructor for exception net.orbyfied.j8.event.InvalidEventException
- isCancelled() - Method in interface net.orbyfied.j8.event.impl.Cancellable
-
Gets the cancel status of the event.
- isDynamic() - Method in class net.orbyfied.j8.event.RegisteredListener
- isEnabled() - Method in class net.orbyfied.j8.event.BusHandler
- isEnabled() - Method in class net.orbyfied.j8.event.RegisteredListener
- isRegistered() - Method in class net.orbyfied.j8.event.BusHandler
- isRegistered() - Method in class net.orbyfied.j8.event.RegisteredListener
- isRegistered(Class<? extends EventListener>) - Method in class net.orbyfied.j8.event.EventBus
-
Checks if the supplied class was registered already.
- isRegistered(EventListener) - Method in class net.orbyfied.j8.event.EventBus
-
Checks if the listeners class was registered already.
L
- LOW - Enum constant in enum class net.orbyfied.j8.event.handler.priority.Priorities
- LOWER - Enum constant in enum class net.orbyfied.j8.event.handler.priority.Priorities
- LOWEST - Enum constant in enum class net.orbyfied.j8.event.handler.priority.Priorities
M
- mono(EventBus) - Static method in class net.orbyfied.j8.event.util.Pipelines
N
- net.orbyfied.j8.event - package net.orbyfied.j8.event
- net.orbyfied.j8.event.handler - package net.orbyfied.j8.event.handler
- net.orbyfied.j8.event.handler.priority - package net.orbyfied.j8.event.handler.priority
- net.orbyfied.j8.event.impl - package net.orbyfied.j8.event.impl
- net.orbyfied.j8.event.pipeline - package net.orbyfied.j8.event.pipeline
- net.orbyfied.j8.event.pipeline.impl - package net.orbyfied.j8.event.pipeline.impl
- net.orbyfied.j8.event.service - package net.orbyfied.j8.event.service
- net.orbyfied.j8.event.util - package net.orbyfied.j8.event.util
- NORMAL - Enum constant in enum class net.orbyfied.j8.event.handler.priority.Priorities
O
- OnlyOrderedPipeline - Class in net.orbyfied.j8.event.pipeline.impl
- OnlyOrderedPipeline() - Constructor for class net.orbyfied.j8.event.pipeline.impl.OnlyOrderedPipeline
- OrderedPipeline<E,
A extends OrderedPipelineHandlerAction> - Interface in net.orbyfied.j8.event.pipeline.impl - OrderedPipelineHandlerAction<S extends PipelineHandlerAction,
E> - Interface in net.orbyfied.j8.event.pipeline.impl
P
- parental(EventBus, Class<?>) - Static method in class net.orbyfied.j8.event.util.Pipelines
- parse() - Method in class net.orbyfied.j8.event.RegisteredListener
-
Parses the class to find all event handler methods and creates handlers for them.
- Pipeline<E,
A extends PipelineHandlerAction> - Interface in net.orbyfied.j8.event.pipeline - PipelineAccess<E> - Interface in net.orbyfied.j8.event.pipeline
-
Interface for virtual pipeline access.
- PipelineConverter<T extends Pipeline> - Interface in net.orbyfied.j8.event.pipeline
- PipelineHandlerAction<S extends PipelineHandlerAction,
E> - Interface in net.orbyfied.j8.event.pipeline - Pipelines - Class in net.orbyfied.j8.event.util
- post(E) - Method in class net.orbyfied.j8.event.EventBus
-
Posts an event to the event bus.
- post(Class<E>, E) - Method in class net.orbyfied.j8.event.ComplexEventBus
- post(Class<E>, E) - Method in class net.orbyfied.j8.event.EventBus
-
Posts an event to the event bus through the pipeline supplied by the supplied class.
- postUnsafe(Class, E) - Method in class net.orbyfied.j8.event.EventBus
-
Posts an event to the event bus through the pipeline supplied by the supplied class.
- prePublish(Object, PipelineAccess<?>) - Method in interface net.orbyfied.j8.event.service.FunctionalEventService
- Priorities - Enum Class in net.orbyfied.j8.event.handler.priority
- prioritized(HandlerPriority) - Method in interface net.orbyfied.j8.event.pipeline.impl.OrderedPipelineHandlerAction
- PrioritizedHandler - Annotation Interface in net.orbyfied.j8.event.handler
- priority() - Element in annotation interface net.orbyfied.j8.event.handler.PrioritizedHandler
- Provider() - Constructor for class net.orbyfied.j8.event.handler.BasicHandler.Provider
- PROVIDER - Static variable in annotation interface net.orbyfied.j8.event.handler.BasicHandler
- push(E) - Method in class net.orbyfied.j8.event.pipeline.impl.BasicPipeline
-
Publishes/pushes an event to the pipeline for it to be handled.
- push(E) - Method in interface net.orbyfied.j8.event.pipeline.Pipeline
- push(E) - Method in interface net.orbyfied.j8.event.pipeline.PipelineAccess
-
Pushes an event to the pipeline.
- pushSafe(E, PipelineAccess<E>) - Method in class net.orbyfied.j8.event.EventBus
-
Safely pushes an event down the given pipeline access.
R
- register() - Method in class net.orbyfied.j8.event.BusHandler
-
Registers it to it's assigned pipeline.
- register() - Method in interface net.orbyfied.j8.event.pipeline.PipelineHandlerAction
- register() - Method in class net.orbyfied.j8.event.RegisteredListener
-
Registers all handlers.
- register(EventBus, BusHandler) - Method in class net.orbyfied.j8.event.handler.BasicHandler.Provider
- register(EventBus, BusHandler) - Method in interface net.orbyfied.j8.event.handler.HandlerProvider
- register(EventListener) - Method in class net.orbyfied.j8.event.ComplexEventBus
- register(EventListener) - Method in class net.orbyfied.j8.event.EventBus
-
Registers a listener instance by creating a
RegisteredListenerand adding it to the registrations in this event bus. - registered(RegisteredListener) - Method in interface net.orbyfied.j8.event.service.FunctionalEventService
- RegisteredListener - Class in net.orbyfied.j8.event
-
A listener that has been registered.
- RegisteredListener(EventBus, EventListener) - Constructor for class net.orbyfied.j8.event.RegisteredListener
- removeService(EventService) - Method in class net.orbyfied.j8.event.ComplexEventBus
S
- setCancelled(boolean) - Method in interface net.orbyfied.j8.event.impl.Cancellable
-
Sets the cancel status of the event.
- setDelegate(Handler<Object>) - Method in class net.orbyfied.j8.event.BusHandler
- setEnabled(boolean) - Method in class net.orbyfied.j8.event.RegisteredListener
- setStatus(int) - Method in class net.orbyfied.j8.event.BusHandler
- size() - Method in class net.orbyfied.j8.event.pipeline.impl.BasicPipeline
- STATUS_DELEGATE - Static variable in class net.orbyfied.j8.event.BusHandler
- STATUS_DISABLED - Static variable in class net.orbyfied.j8.event.BusHandler
- STATUS_ENABLED - Static variable in class net.orbyfied.j8.event.BusHandler
U
- unregister() - Method in interface net.orbyfied.j8.event.pipeline.PipelineHandlerAction
- unregister(EventBus, BusHandler) - Method in class net.orbyfied.j8.event.handler.BasicHandler.Provider
- unregister(EventBus, BusHandler) - Method in interface net.orbyfied.j8.event.handler.HandlerProvider
- unregister(RegisteredListener) - Method in class net.orbyfied.j8.event.ComplexEventBus
- unregister(RegisteredListener) - Method in class net.orbyfied.j8.event.EventBus
-
Unregisters a registered listener.
- unregisterAll(Class<? extends EventListener>) - Method in class net.orbyfied.j8.event.EventBus
-
Unregisters all registered listeners of the specified type.
- unregistered(RegisteredListener) - Method in interface net.orbyfied.j8.event.service.FunctionalEventService
- unregisterLast(Class<? extends EventListener>) - Method in class net.orbyfied.j8.event.EventBus
-
Unregisters the last listener of the specified type.
- unregisterLast(EventListener) - Method in class net.orbyfied.j8.event.EventBus
-
Unregisters the last listener of the listeners type.
V
- valueOf(String) - Static method in enum class net.orbyfied.j8.event.handler.priority.Priorities
-
Returns the enum constant of this class with the specified name.
- values() - Static method in enum class net.orbyfied.j8.event.handler.priority.Priorities
-
Returns an array containing the constants of this enum class, in the order they are declared.
W
- withDefaultPipelineFactory(BusPipelineFactory) - Method in class net.orbyfied.j8.event.EventBus
- withProperty(Object, Object) - Method in class net.orbyfied.j8.event.BusHandler
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form