public enum NbpEmptySubscriber extends java.lang.Enum<NbpEmptySubscriber> implements NbpObservable.NbpSubscriber<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(Disposable s) |
static NbpEmptySubscriber |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static NbpEmptySubscriber[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final NbpEmptySubscriber INSTANCE
public static final NbpEmptySubscriber INSTANCE_NOERROR
public static NbpEmptySubscriber[] values()
for (NbpEmptySubscriber c : NbpEmptySubscriber.values()) System.out.println(c);
public static NbpEmptySubscriber 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(Disposable s)
onSubscribe in interface NbpObservable.NbpSubscriber<java.lang.Object>public void onNext(java.lang.Object t)
onNext in interface NbpObservable.NbpSubscriber<java.lang.Object>public void onError(java.lang.Throwable t)
onError in interface NbpObservable.NbpSubscriber<java.lang.Object>public void onComplete()
onComplete in interface NbpObservable.NbpSubscriber<java.lang.Object>