public static enum TestPublisher.Violation extends Enum<TestPublisher.Violation>
TestPublisher.| Enum Constant and Description |
|---|
ALLOW_NULL
|
CLEANUP_ON_TERMINATE
Allow termination signals to be sent several times in a row.
|
DEFER_CANCELLATION
Allow the
TestPublisher to ignore cancellation signals and continue
emitting signals as if the cancellation lost race against said signals. |
REQUEST_OVERFLOW
Allow
next calls to be made
despite insufficient request, without triggering an IllegalStateException. |
| Modifier and Type | Method and Description |
|---|---|
static TestPublisher.Violation |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TestPublisher.Violation[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TestPublisher.Violation REQUEST_OVERFLOW
next calls to be made
despite insufficient request, without triggering an IllegalStateException.public static final TestPublisher.Violation ALLOW_NULL
public static final TestPublisher.Violation CLEANUP_ON_TERMINATE
TestPublisher.complete(), TestPublisher.error(Throwable) and
TestPublisher.emit(Object[]).public static final TestPublisher.Violation DEFER_CANCELLATION
TestPublisher to ignore cancellation signals and continue
emitting signals as if the cancellation lost race against said signals.public static TestPublisher.Violation[] values()
for (TestPublisher.Violation c : TestPublisher.Violation.values()) System.out.println(c);
public static TestPublisher.Violation valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is null