Package reactor.test.subscriber
Enum TestSubscriber.FusionRequirement
java.lang.Object
java.lang.Enum<TestSubscriber.FusionRequirement>
reactor.test.subscriber.TestSubscriber.FusionRequirement
- All Implemented Interfaces:
Serializable,Comparable<TestSubscriber.FusionRequirement>,Constable
- Enclosing interface:
- TestSubscriber<T>
An enum representing the 3 broad expectations around fusion.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionThe parentPublisheris expected to be fuseable, and this is verified by checking theSubscriptionit provides is aFuseable.QueueSubscription.There is no particular interest in the fuseability of the parentPublisher, so even if it provides aFuseable.QueueSubscriptionit will be used as a vanillaSubscription.The parentPublisheris expected to NOT be fuseable, and this is verified by checking theSubscriptionit provides is NOT aFuseable.QueueSubscription. -
Method Summary
Modifier and TypeMethodDescriptionReturns the enum constant of this type with the specified name.static TestSubscriber.FusionRequirement[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
FUSEABLE
The parentPublisheris expected to be fuseable, and this is verified by checking theSubscriptionit provides is aFuseable.QueueSubscription. -
NOT_FUSEABLE
The parentPublisheris expected to NOT be fuseable, and this is verified by checking theSubscriptionit provides is NOT aFuseable.QueueSubscription. -
NONE
There is no particular interest in the fuseability of the parentPublisher, so even if it provides aFuseable.QueueSubscriptionit will be used as a vanillaSubscription.
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-