public enum ResourceName extends Enum<ResourceName> implements com.alibaba.fastjson.serializer.JSONSerializable
| Enum Constant and Description |
|---|
ACTION_POLICY |
ALERT_POLICY |
CONTENT_TEMPLATE |
GLOBAL_CONFIG |
USER |
USER_GROUP |
WEBHOOK_APPLICATION |
| Modifier and Type | Method and Description |
|---|---|
static ResourceName |
fromString(String value) |
String |
toString() |
static ResourceName |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ResourceName[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
void |
write(com.alibaba.fastjson.serializer.JSONSerializer serializer,
Object fieldName,
Type fieldType,
int features) |
public static final ResourceName ALERT_POLICY
public static final ResourceName ACTION_POLICY
public static final ResourceName USER
public static final ResourceName USER_GROUP
public static final ResourceName CONTENT_TEMPLATE
public static final ResourceName GLOBAL_CONFIG
public static final ResourceName WEBHOOK_APPLICATION
public static ResourceName[] values()
for (ResourceName c : ResourceName.values()) System.out.println(c);
public static ResourceName 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 static ResourceName fromString(String value)
public String toString()
toString in class Enum<ResourceName>Copyright © 2025. All Rights Reserved.