public static enum RosterAbstract.StateTransition extends Enum<RosterAbstract.StateTransition>
Enum Constant and Description |
---|
both |
from |
from_pending_out |
none |
none_pending_in |
none_pending_out |
none_pending_out_in |
to |
to_pending_in |
Modifier and Type | Method and Description |
---|---|
RosterAbstract.SubscriptionType |
getStateTransition(RosterAbstract.PresenceType pres_type) |
static RosterAbstract.StateTransition |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static RosterAbstract.StateTransition[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RosterAbstract.StateTransition none
public static final RosterAbstract.StateTransition none_pending_out
public static final RosterAbstract.StateTransition none_pending_in
public static final RosterAbstract.StateTransition none_pending_out_in
public static final RosterAbstract.StateTransition to
public static final RosterAbstract.StateTransition to_pending_in
public static final RosterAbstract.StateTransition from
public static final RosterAbstract.StateTransition from_pending_out
public static final RosterAbstract.StateTransition both
public static RosterAbstract.StateTransition[] values()
for (RosterAbstract.StateTransition c : RosterAbstract.StateTransition.values()) System.out.println(c);
public static RosterAbstract.StateTransition 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 RosterAbstract.SubscriptionType getStateTransition(RosterAbstract.PresenceType pres_type)
Copyright © 2017 "Tigase, Inc.". All rights reserved.