public enum Visibility extends Enum<Visibility>
| Enum Constant and Description |
|---|
LIMITED |
PRIVATE |
PUBLIC |
REGISTERED_ONLY |
| Modifier and Type | Method and Description |
|---|---|
static Visibility |
fromValue(String v) |
String |
value() |
static Visibility |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Visibility[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Visibility PRIVATE
public static final Visibility LIMITED
public static final Visibility PUBLIC
public static final Visibility REGISTERED_ONLY
public static Visibility[] values()
for (Visibility c : Visibility.values()) System.out.println(c);
public static Visibility 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 String value()
public static Visibility fromValue(String v)
Copyright © 2017. All rights reserved.