public enum PluginType extends Enum<PluginType>
| Enum Constant and Description |
|---|
ADMIN
Indicates a plugin belongs ADMIN.
|
PUBLIC
Indicates a plugin belongs PUBLIC.
|
| Modifier and Type | Method and Description |
|---|---|
static PluginType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PluginType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PluginType ADMIN
public static final PluginType PUBLIC
public static PluginType[] values()
for (PluginType c : PluginType.values()) System.out.println(c);
public static PluginType 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 nullCopyright © 2009–2019 B3log. All rights reserved.