public enum PluginSlot extends Enum<PluginSlot>
| Enum Constant and Description |
|---|
ANY |
FREEMARKER_VIEW
Slot for freemarker template.
|
GROOVY_VIEW
Slot for groovy template.
|
JSON
Slot for json.
|
RESOURCE
Slot for static resource.
|
THYMELEAF_VIEW
Slot for thymeleaf template.
|
WEBSOCKET
Slot for websocket.
|
| Modifier and Type | Method and Description |
|---|---|
static PluginSlot |
slot(Class<? extends Plugin> clazz) |
static PluginSlot |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PluginSlot[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PluginSlot ANY
public static final PluginSlot JSON
public static final PluginSlot GROOVY_VIEW
public static final PluginSlot THYMELEAF_VIEW
public static final PluginSlot FREEMARKER_VIEW
public static final PluginSlot WEBSOCKET
public static final PluginSlot RESOURCE
public static PluginSlot[] values()
for (PluginSlot c : PluginSlot.values()) System.out.println(c);
public static PluginSlot 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 PluginSlot slot(Class<? extends Plugin> clazz)
Copyright © 2024 flmelody. All rights reserved.