public enum SignalType extends java.lang.Enum<SignalType>
Enum Constant and Description |
---|
AFTER_TERMINATE
A signal when an operator completes
|
CANCEL
A signal when the subscription is cancelled
|
CURRENT_CONTEXT
A context read signal
|
ON_COMPLETE
A signal when an operator completes
|
ON_CONTEXT
A context update signal
|
ON_ERROR
A signal when an operator receives an error
|
ON_NEXT
A signal when an operator receives an emitted value
|
ON_SUBSCRIBE
A signal when an operator receives a subscription
|
REQUEST
A signal when a request is made through the subscription
|
SUBSCRIBE
A signal when the subscription is triggered
|
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 final SignalType CURRENT_CONTEXT
public static final SignalType ON_CONTEXT
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>