public enum SubscriptionReplicationTrigger extends java.lang.Enum<SubscriptionReplicationTrigger>
Enum Constant and Description |
---|
DISABLED
Indicates that session replication should never be initiated by the leg.
|
INITIAL_REQUEST
Indicates that session replication should be initiated as soon as an initial SUBSCRIBE or REFER request is seen
on the leg.
|
NOOP
Indicates that session replication decision shall not be made by the leg.
|
SUCCESS_RESPONSE
Indicates that session replication should be initiated when a success (2xx) response for the original SUBSCRIBE
or REFER request is seen on the leg.
|
Modifier and Type | Method and Description |
---|---|
boolean |
occursBefore(SubscriptionReplicationTrigger otherTrigger)
Indicates whether this trigger occurs earlier in the call sequence than the given trigger.
|
static SubscriptionReplicationTrigger |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static SubscriptionReplicationTrigger[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SubscriptionReplicationTrigger DISABLED
public static final SubscriptionReplicationTrigger NOOP
public static final SubscriptionReplicationTrigger INITIAL_REQUEST
public static final SubscriptionReplicationTrigger SUCCESS_RESPONSE
public static SubscriptionReplicationTrigger[] values()
for (SubscriptionReplicationTrigger c : SubscriptionReplicationTrigger.values()) System.out.println(c);
public static SubscriptionReplicationTrigger 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 boolean occursBefore(SubscriptionReplicationTrigger otherTrigger)
otherTrigger
- the trigger value to compare this value toCopyright © OpenCloud. All Rights Reserved.