public enum SignalType extends Enum<SignalType>
| Enum Constant and Description |
|---|
AFTER_TERMINATE |
CANCEL |
ON_COMPLETE |
ON_ERROR |
ON_NEXT |
ON_SUBSCRIBE |
REQUEST |
SUBSCRIBE |
| Modifier and Type | Method and Description |
|---|---|
String |
toString() |
static SignalType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SignalType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SignalType SUBSCRIBE
public static final SignalType REQUEST
public static final SignalType CANCEL
public static final SignalType ON_SUBSCRIBE
public static final SignalType ON_NEXT
public static final SignalType ON_ERROR
public static final SignalType ON_COMPLETE
public static final SignalType AFTER_TERMINATE
public static SignalType[] values()
for (SignalType c : SignalType.values()) System.out.println(c);
public static SignalType 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 nullpublic String toString()
toString in class Enum<SignalType>