public enum PluginRoleEnum extends java.lang.Enum<PluginRoleEnum>
| Enum Constant and Description |
|---|
CUSTOM
Custom plugin role enum.
|
SYS
Sys plugin role enum.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.Integer |
getCode()
get code.
|
java.lang.String |
getName()
get name.
|
static PluginRoleEnum |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static PluginRoleEnum[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PluginRoleEnum SYS
public static final PluginRoleEnum CUSTOM
public static PluginRoleEnum[] values()
for (PluginRoleEnum c : PluginRoleEnum.values()) System.out.println(c);
public static PluginRoleEnum 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 nullpublic java.lang.Integer getCode()
public java.lang.String getName()
Copyright © 2024 The Apache Software Foundation. All rights reserved.