public enum AccountVisibility extends java.lang.Enum<AccountVisibility>
Enum Constant and Description |
---|
ALL
All accounts are visible to all users.
|
NONE
Other accounts are not visible to the given user unless they are explicitly collaborating on a
change.
|
SAME_GROUP
Accounts sharing a group with the given user.
|
VISIBLE_GROUP
Accounts in a group that is visible to the given user.
|
Modifier and Type | Method and Description |
---|---|
static AccountVisibility |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static AccountVisibility[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AccountVisibility ALL
public static final AccountVisibility SAME_GROUP
public static final AccountVisibility VISIBLE_GROUP
public static final AccountVisibility NONE
public static AccountVisibility[] values()
for (AccountVisibility c : AccountVisibility.values()) System.out.println(c);
public static AccountVisibility 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