public enum JRSTConfigAction extends Enum<JRSTConfigAction> implements org.nuiton.config.ConfigActionDef
Enum Constant and Description |
---|
HELP |
Modifier and Type | Field and Description |
---|---|
String |
action |
String[] |
aliases |
String |
description |
Modifier and Type | Method and Description |
---|---|
String |
getAction() |
String[] |
getAliases() |
String |
getDescription() |
static JRSTConfigAction |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static JRSTConfigAction[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final JRSTConfigAction HELP
public String description
public String action
public String[] aliases
public static JRSTConfigAction[] values()
for (JRSTConfigAction c : JRSTConfigAction.values()) System.out.println(c);
public static JRSTConfigAction 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 getDescription()
public String getAction()
getAction
in interface org.nuiton.config.ConfigActionDef
public String[] getAliases()
getAliases
in interface org.nuiton.config.ConfigActionDef
Copyright © 2004–2014 CodeLutin. All rights reserved.