public static enum Connection.Status extends java.lang.Enum<Connection.Status>
enabled, disabled and never_enabled.
For unauthenticated calls or user cannot be found, the Connection status will always be unknown.| Enum Constant and Description |
|---|
disabled
User status for the Connection indicating the Connection is currently disabled for the user.
|
enabled
User status for the Connection indicating the Connection is currently activated for the user.
|
never_enabled
User status for the Connection indicating the Connection has never been activated for the user, who needs to go
through the activation flow to turn it on.
|
unknown
Unknown user status for the Connection.
|
| Modifier and Type | Method and Description |
|---|---|
static Connection.Status |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Connection.Status[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Connection.Status enabled
public static final Connection.Status disabled
public static final Connection.Status never_enabled
public static final Connection.Status unknown
public static Connection.Status[] values()
for (Connection.Status c : Connection.Status.values()) System.out.println(c);
public static Connection.Status 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 null