public enum UGCEvent extends Enum<UGCEvent>
| Enum Constant and Description |
|---|
ADD_ATTACHMENT |
CREATE |
DELETE |
DELETE_ATTACHMENT |
DELETE_ATTRIBUTES |
FLAG |
MODERATE |
READ |
UNFLAG |
UPDATE |
UPDATE_ATTRIBUTES |
VOTE |
| Modifier and Type | Method and Description |
|---|---|
String |
getName() |
static UGCEvent |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static UGCEvent[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final UGCEvent UPDATE
public static final UGCEvent MODERATE
public static final UGCEvent UNFLAG
public static final UGCEvent FLAG
public static final UGCEvent CREATE
public static final UGCEvent DELETE
public static final UGCEvent READ
public static final UGCEvent VOTE
public static final UGCEvent UPDATE_ATTRIBUTES
public static final UGCEvent DELETE_ATTRIBUTES
public static final UGCEvent ADD_ATTACHMENT
public static final UGCEvent DELETE_ATTACHMENT
public static UGCEvent[] values()
for (UGCEvent c : UGCEvent.values()) System.out.println(c);
public static UGCEvent 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 getName()
Copyright © 2019 CrafterCMS. All Rights Reserved.