public enum SignalType extends java.lang.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 |
---|---|
java.lang.String |
toString() |
static SignalType |
valueOf(java.lang.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(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 java.lang.String toString()
toString
in class java.lang.Enum<SignalType>