public enum EmptySubscriber extends java.lang.Enum<EmptySubscriber> implements org.reactivestreams.Subscriber<java.lang.Object>
| Enum Constant and Description |
|---|
INSTANCE
Empty instance that reports error to the plugins.
|
INSTANCE_NOERROR
Empty instance that doesn't report to the plugins to avoid flooding the test output.
|
| Modifier and Type | Method and Description |
|---|---|
void |
onComplete() |
void |
onError(java.lang.Throwable t) |
void |
onNext(java.lang.Object t) |
void |
onSubscribe(org.reactivestreams.Subscription s) |
static EmptySubscriber |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static EmptySubscriber[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final EmptySubscriber INSTANCE
public static final EmptySubscriber INSTANCE_NOERROR
public static EmptySubscriber[] values()
for (EmptySubscriber c : EmptySubscriber.values()) System.out.println(c);
public static EmptySubscriber valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is nullpublic void onSubscribe(org.reactivestreams.Subscription s)
onSubscribe in interface org.reactivestreams.Subscriber<java.lang.Object>public void onNext(java.lang.Object t)
onNext in interface org.reactivestreams.Subscriber<java.lang.Object>public void onError(java.lang.Throwable t)
onError in interface org.reactivestreams.Subscriber<java.lang.Object>public void onComplete()
onComplete in interface org.reactivestreams.Subscriber<java.lang.Object>