public static enum Announcement.Target extends java.lang.Enum<Announcement.Target>
Modifier and Type | Method and Description |
---|---|
static Announcement.Target |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Announcement.Target[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Announcement.Target Admin
public static final Announcement.Target User
public static final Announcement.Target All
public static Announcement.Target[] values()
for (Announcement.Target c : Announcement.Target.values()) System.out.println(c);
public static Announcement.Target 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 nullCopyright © 2021. All Rights Reserved.