A B C D E F G H I J L M N O P R S T U V 
All Classes All Packages

A

AbstractSubscriberInfo - Class in org.greenrobot.eventbus.meta
Base class for generated subscriber meta info classes created by annotation processing.
AbstractSubscriberInfo(Class, Class<? extends SubscriberInfo>, boolean) - Constructor for class org.greenrobot.eventbus.meta.AbstractSubscriberInfo
 
addIndex(SubscriberInfoIndex) - Method in class org.greenrobot.eventbus.EventBusBuilder
Adds an index generated by EventBus' annotation preprocessor.
addMapping(Class<? extends Throwable>, int) - Method in class org.greenrobot.eventbus.util.ExceptionToResourceMapping
 
AndroidComponents - Class in org.greenrobot.eventbus.android
 
AndroidComponents(Logger, MainThreadSupport) - Constructor for class org.greenrobot.eventbus.android.AndroidComponents
 
AndroidDependenciesDetector - Class in org.greenrobot.eventbus.android
 
AndroidDependenciesDetector() - Constructor for class org.greenrobot.eventbus.android.AndroidDependenciesDetector
 
areAndroidComponentsAvailable() - Static method in class org.greenrobot.eventbus.android.AndroidDependenciesDetector
 
areAvailable() - Static method in class org.greenrobot.eventbus.android.AndroidComponents
 
ASYNC - org.greenrobot.eventbus.ThreadMode
Subscriber will be called in a separate thread.
AsyncExecutor - Class in org.greenrobot.eventbus.util
Executes an AsyncExecutor.RunnableEx using a thread pool.
AsyncExecutor.Builder - Class in org.greenrobot.eventbus.util
 
AsyncExecutor.RunnableEx - Interface in org.greenrobot.eventbus.util
Like Runnable, but the run method may throw an exception.

B

BACKGROUND - org.greenrobot.eventbus.ThreadMode
On Android, subscriber will be called in a background thread.
build() - Method in class org.greenrobot.eventbus.EventBusBuilder
Builds an EventBus based on the current configuration.
build() - Method in class org.greenrobot.eventbus.util.AsyncExecutor.Builder
 
builder() - Static method in class org.greenrobot.eventbus.EventBus
 
builder() - Static method in class org.greenrobot.eventbus.util.AsyncExecutor
 
buildForScope(Object) - Method in class org.greenrobot.eventbus.util.AsyncExecutor.Builder
 

C

cancelEventDelivery(Object) - Method in class org.greenrobot.eventbus.EventBus
Called from a subscriber's event handling method, further event delivery will be canceled.
causingEvent - Variable in class org.greenrobot.eventbus.SubscriberExceptionEvent
The original event that could not be delivered to any subscriber.
causingSubscriber - Variable in class org.greenrobot.eventbus.SubscriberExceptionEvent
The subscriber that threw the Throwable.
clearCaches() - Static method in class org.greenrobot.eventbus.EventBus
For unit test primarily.
create() - Static method in class org.greenrobot.eventbus.util.AsyncExecutor
 
createPoster(EventBus) - Method in interface org.greenrobot.eventbus.MainThreadSupport
 
createSubscriberMethod(String, Class<?>) - Method in class org.greenrobot.eventbus.meta.AbstractSubscriberInfo
 
createSubscriberMethod(String, Class<?>, ThreadMode) - Method in class org.greenrobot.eventbus.meta.AbstractSubscriberInfo
 
createSubscriberMethod(String, Class<?>, ThreadMode, int, boolean) - Method in class org.greenrobot.eventbus.meta.AbstractSubscriberInfo
 

D

Default() - Constructor for class org.greenrobot.eventbus.Logger.Default
 
defaultMainThreadSupport - Variable in class org.greenrobot.eventbus.android.AndroidComponents
 

E

enqueue(Subscription, Object) - Method in interface org.greenrobot.eventbus.Poster
Enqueue an event to be posted for a particular subscription.
equals(Object) - Method in class org.greenrobot.eventbus.SubscriberMethod
 
eventBus - Variable in class org.greenrobot.eventbus.NoSubscriberEvent
The EventBus instance to with the original event was posted to.
eventBus - Variable in class org.greenrobot.eventbus.SubscriberExceptionEvent
The EventBus instance to with the original event was posted to.
eventBus(EventBus) - Method in class org.greenrobot.eventbus.util.AsyncExecutor.Builder
 
EventBus - Class in org.greenrobot.eventbus
EventBus is a central publish/subscribe event system for Java and Android.
EventBus() - Constructor for class org.greenrobot.eventbus.EventBus
Creates a new EventBus instance; each instance is a separate scope in which events are delivered.
EventBusBuilder - Class in org.greenrobot.eventbus
Creates EventBus instances with custom parameters and also allows to install a custom default EventBus instance.
EventBusException - Exception in org.greenrobot.eventbus
An RuntimeException thrown in cases something went wrong inside EventBus.
EventBusException(String) - Constructor for exception org.greenrobot.eventbus.EventBusException
 
EventBusException(String, Throwable) - Constructor for exception org.greenrobot.eventbus.EventBusException
 
EventBusException(Throwable) - Constructor for exception org.greenrobot.eventbus.EventBusException
 
eventInheritance(boolean) - Method in class org.greenrobot.eventbus.EventBusBuilder
By default, EventBus considers the event class hierarchy (subscribers to super classes will be notified).
ExceptionToResourceMapping - Class in org.greenrobot.eventbus.util
Maps throwables to texts for error dialogs.
ExceptionToResourceMapping() - Constructor for class org.greenrobot.eventbus.util.ExceptionToResourceMapping
 
execute(AsyncExecutor.RunnableEx) - Method in class org.greenrobot.eventbus.util.AsyncExecutor
Posts an failure event if the given AsyncExecutor.RunnableEx throws an Exception.
executorService(ExecutorService) - Method in class org.greenrobot.eventbus.EventBusBuilder
Provide a custom thread pool to EventBus used for async and background event delivery.

F

failureEventType(Class<?>) - Method in class org.greenrobot.eventbus.util.AsyncExecutor.Builder
 

G

get() - Static method in class org.greenrobot.eventbus.android.AndroidComponents
 
get() - Static method in class org.greenrobot.eventbus.Logger.Default
 
getDefault() - Static method in class org.greenrobot.eventbus.EventBus
Convenience singleton for apps using a process-wide EventBus instance.
getExecutionScope() - Method in interface org.greenrobot.eventbus.util.HasExecutionScope
 
getExecutionScope() - Method in class org.greenrobot.eventbus.util.ThrowableFailureEvent
 
getLogger() - Method in class org.greenrobot.eventbus.EventBus
For internal use only.
getStickyEvent(Class<T>) - Method in class org.greenrobot.eventbus.EventBus
Gets the most recent sticky event for the given type.
getSubscriberClass() - Method in class org.greenrobot.eventbus.meta.AbstractSubscriberInfo
 
getSubscriberClass() - Method in interface org.greenrobot.eventbus.meta.SubscriberInfo
 
getSubscriberInfo(Class<?>) - Method in interface org.greenrobot.eventbus.meta.SubscriberInfoIndex
 
getSubscriberMethods() - Method in class org.greenrobot.eventbus.meta.SimpleSubscriberInfo
 
getSubscriberMethods() - Method in interface org.greenrobot.eventbus.meta.SubscriberInfo
 
getSuperSubscriberInfo() - Method in class org.greenrobot.eventbus.meta.AbstractSubscriberInfo
 
getSuperSubscriberInfo() - Method in interface org.greenrobot.eventbus.meta.SubscriberInfo
 
getThrowable() - Method in class org.greenrobot.eventbus.util.ThrowableFailureEvent
 

H

HasExecutionScope - Interface in org.greenrobot.eventbus.util
 
hashCode() - Method in class org.greenrobot.eventbus.SubscriberMethod
 
hasSubscriberForEvent(Class<?>) - Method in class org.greenrobot.eventbus.EventBus
 

I

ignoreGeneratedIndex(boolean) - Method in class org.greenrobot.eventbus.EventBusBuilder
Forces the use of reflection even if there's a generated index (default: false).
installDefaultEventBus() - Method in class org.greenrobot.eventbus.EventBusBuilder
Installs the default EventBus returned by EventBus.getDefault() using this builders' values.
instantiateAndroidComponents() - Static method in class org.greenrobot.eventbus.android.AndroidDependenciesDetector
 
isAndroidSDKAvailable() - Static method in class org.greenrobot.eventbus.android.AndroidDependenciesDetector
 
isMainThread() - Method in interface org.greenrobot.eventbus.MainThreadSupport
 
isRegistered(Object) - Method in class org.greenrobot.eventbus.EventBus
 
isSuppressErrorUi() - Method in class org.greenrobot.eventbus.util.ThrowableFailureEvent
 

J

JavaLogger(String) - Constructor for class org.greenrobot.eventbus.Logger.JavaLogger
 

L

log(Level, String) - Method in class org.greenrobot.eventbus.Logger.JavaLogger
 
log(Level, String) - Method in interface org.greenrobot.eventbus.Logger
 
log(Level, String) - Method in class org.greenrobot.eventbus.Logger.SystemOutLogger
 
log(Level, String, Throwable) - Method in class org.greenrobot.eventbus.Logger.JavaLogger
 
log(Level, String, Throwable) - Method in interface org.greenrobot.eventbus.Logger
 
log(Level, String, Throwable) - Method in class org.greenrobot.eventbus.Logger.SystemOutLogger
 
logger - Variable in class org.greenrobot.eventbus.android.AndroidComponents
 
logger - Variable in class org.greenrobot.eventbus.Logger.JavaLogger
 
logger(Logger) - Method in class org.greenrobot.eventbus.EventBusBuilder
Set a specific log handler for all EventBus logging.
Logger - Interface in org.greenrobot.eventbus
 
Logger.Default - Class in org.greenrobot.eventbus
 
Logger.JavaLogger - Class in org.greenrobot.eventbus
 
Logger.SystemOutLogger - Class in org.greenrobot.eventbus
 
logNoSubscriberMessages(boolean) - Method in class org.greenrobot.eventbus.EventBusBuilder
Default: true
logSubscriberExceptions(boolean) - Method in class org.greenrobot.eventbus.EventBusBuilder
Default: true

M

MAIN - org.greenrobot.eventbus.ThreadMode
On Android, subscriber will be called in Android's main thread (UI thread).
MAIN_ORDERED - org.greenrobot.eventbus.ThreadMode
On Android, subscriber will be called in Android's main thread (UI thread).
MainThreadSupport - Interface in org.greenrobot.eventbus
Interface to the "main" thread, which can be whatever you like.
mapThrowable(Throwable) - Method in class org.greenrobot.eventbus.util.ExceptionToResourceMapping
Looks at the exception and its causes trying to find an ID.
mapThrowableFlat(Throwable) - Method in class org.greenrobot.eventbus.util.ExceptionToResourceMapping
Mapping without checking the cause (done in mapThrowable).

N

NoSubscriberEvent - Class in org.greenrobot.eventbus
This Event is posted by EventBus when no subscriber is found for a posted event.
NoSubscriberEvent(EventBus, Object) - Constructor for class org.greenrobot.eventbus.NoSubscriberEvent
 

O

org.greenrobot.eventbus - package org.greenrobot.eventbus
 
org.greenrobot.eventbus.android - package org.greenrobot.eventbus.android
 
org.greenrobot.eventbus.meta - package org.greenrobot.eventbus.meta
 
org.greenrobot.eventbus.util - package org.greenrobot.eventbus.util
 
originalEvent - Variable in class org.greenrobot.eventbus.NoSubscriberEvent
The original event that could not be delivered to any subscriber.

P

post(Object) - Method in class org.greenrobot.eventbus.EventBus
Posts the given event to the event bus.
Poster - Interface in org.greenrobot.eventbus
Posts events.
POSTING - org.greenrobot.eventbus.ThreadMode
This is the default.
postSticky(Object) - Method in class org.greenrobot.eventbus.EventBus
Posts the given event to the event bus and holds on to the event (because it is sticky).
priority() - Method in annotation type org.greenrobot.eventbus.Subscribe
Subscriber priority to influence the order of event delivery.

R

register(Object) - Method in class org.greenrobot.eventbus.EventBus
Registers the given subscriber to receive events.
removeAllStickyEvents() - Method in class org.greenrobot.eventbus.EventBus
Removes all sticky events.
removeStickyEvent(Class<T>) - Method in class org.greenrobot.eventbus.EventBus
Remove and gets the recent sticky event for the given event type.
removeStickyEvent(Object) - Method in class org.greenrobot.eventbus.EventBus
Removes the sticky event if it equals to the given event.
run() - Method in interface org.greenrobot.eventbus.util.AsyncExecutor.RunnableEx
 

S

sendNoSubscriberEvent(boolean) - Method in class org.greenrobot.eventbus.EventBusBuilder
Default: true
sendSubscriberExceptionEvent(boolean) - Method in class org.greenrobot.eventbus.EventBusBuilder
Default: true
setExecutionScope(Object) - Method in interface org.greenrobot.eventbus.util.HasExecutionScope
 
setExecutionScope(Object) - Method in class org.greenrobot.eventbus.util.ThrowableFailureEvent
 
shouldCheckSuperclass() - Method in class org.greenrobot.eventbus.meta.AbstractSubscriberInfo
 
shouldCheckSuperclass() - Method in interface org.greenrobot.eventbus.meta.SubscriberInfo
 
SimpleSubscriberInfo - Class in org.greenrobot.eventbus.meta
Uses SubscriberMethodInfo objects to create SubscriberMethod objects on demand.
SimpleSubscriberInfo(Class, boolean, SubscriberMethodInfo[]) - Constructor for class org.greenrobot.eventbus.meta.SimpleSubscriberInfo
 
skipMethodVerificationFor(Class<?>) - Method in class org.greenrobot.eventbus.EventBusBuilder
Method name verification is done for methods starting with onEvent to avoid typos; using this method you can exclude subscriber classes from this check.
sticky() - Method in annotation type org.greenrobot.eventbus.Subscribe
If true, delivers the most recent sticky event (posted with EventBus.postSticky(Object)) to this subscriber (if event available).
strictMethodVerification(boolean) - Method in class org.greenrobot.eventbus.EventBusBuilder
Enables strict method verification (default: false).
Subscribe - Annotation Type in org.greenrobot.eventbus
 
SubscriberExceptionEvent - Class in org.greenrobot.eventbus
This Event is posted by EventBus when an exception occurs inside a subscriber's event handling method.
SubscriberExceptionEvent(EventBus, Throwable, Object, Object) - Constructor for class org.greenrobot.eventbus.SubscriberExceptionEvent
 
SubscriberInfo - Interface in org.greenrobot.eventbus.meta
Base class for generated index classes created by annotation processing.
SubscriberInfoIndex - Interface in org.greenrobot.eventbus.meta
Interface for generated indexes.
SubscriberMethod - Class in org.greenrobot.eventbus
Used internally by EventBus and generated subscriber indexes.
SubscriberMethod(Method, Class<?>, ThreadMode, int, boolean) - Constructor for class org.greenrobot.eventbus.SubscriberMethod
 
SubscriberMethodInfo - Class in org.greenrobot.eventbus.meta
 
SubscriberMethodInfo(String, Class<?>) - Constructor for class org.greenrobot.eventbus.meta.SubscriberMethodInfo
 
SubscriberMethodInfo(String, Class<?>, ThreadMode) - Constructor for class org.greenrobot.eventbus.meta.SubscriberMethodInfo
 
SubscriberMethodInfo(String, Class<?>, ThreadMode, int, boolean) - Constructor for class org.greenrobot.eventbus.meta.SubscriberMethodInfo
 
suppressErrorUi - Variable in class org.greenrobot.eventbus.util.ThrowableFailureEvent
 
SystemOutLogger() - Constructor for class org.greenrobot.eventbus.Logger.SystemOutLogger
 

T

TAG - Static variable in class org.greenrobot.eventbus.EventBus
Log tag, apps may override it.
threadMode() - Method in annotation type org.greenrobot.eventbus.Subscribe
 
ThreadMode - Enum in org.greenrobot.eventbus
Each subscriber method has a thread mode, which determines in which thread the method is to be called by EventBus.
threadPool(Executor) - Method in class org.greenrobot.eventbus.util.AsyncExecutor.Builder
 
throwable - Variable in class org.greenrobot.eventbus.SubscriberExceptionEvent
The Throwable thrown by a subscriber.
throwable - Variable in class org.greenrobot.eventbus.util.ThrowableFailureEvent
 
ThrowableFailureEvent - Class in org.greenrobot.eventbus.util
A generic failure event, which can be used by apps to propagate thrown exceptions.
ThrowableFailureEvent(Throwable) - Constructor for class org.greenrobot.eventbus.util.ThrowableFailureEvent
 
ThrowableFailureEvent(Throwable, boolean) - Constructor for class org.greenrobot.eventbus.util.ThrowableFailureEvent
 
throwableToMsgIdMap - Variable in class org.greenrobot.eventbus.util.ExceptionToResourceMapping
 
throwSubscriberException(boolean) - Method in class org.greenrobot.eventbus.EventBusBuilder
Fails if an subscriber throws an exception (default: false).
toString() - Method in class org.greenrobot.eventbus.EventBus
 

U

unregister(Object) - Method in class org.greenrobot.eventbus.EventBus
Unregisters the given subscriber from all event classes.

V

valueOf(String) - Static method in enum org.greenrobot.eventbus.ThreadMode
Returns the enum constant of this type with the specified name.
values() - Static method in enum org.greenrobot.eventbus.ThreadMode
Returns an array containing the constants of this enum type, in the order they are declared.
A B C D E F G H I J L M N O P R S T U V 
All Classes All Packages