Enum Executor
- java.lang.Object
-
- java.lang.Enum<Executor>
-
- fr.royalpha.bungeeannounce.handler.Executor
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classExecutor.ChangePageExecutorstatic interfaceExecutor.ExecutorActionstatic classExecutor.OpenFileExecutorstatic classExecutor.OpenURLExecutorstatic classExecutor.RunCommandExecutorstatic classExecutor.ShowTextExecutorstatic classExecutor.SuggestCommandExecutor
-
Enum Constant Summary
Enum Constants Enum Constant Description CHANGE_PAGELINKOPEN_FILERUN_COMMANDSHOW_TEXTSUGGEST_COMMAND
-
Method Summary
Modifier and Type Method Description Executor.ExecutorActiongetEA()java.lang.StringgetString()static ExecutorgetType(java.lang.String s)static ExecutorvalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static Executor[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
LINK
public static final Executor LINK
-
CHANGE_PAGE
public static final Executor CHANGE_PAGE
-
RUN_COMMAND
public static final Executor RUN_COMMAND
-
OPEN_FILE
public static final Executor OPEN_FILE
-
SUGGEST_COMMAND
public static final Executor SUGGEST_COMMAND
-
SHOW_TEXT
public static final Executor SHOW_TEXT
-
-
Method Detail
-
values
public static Executor[] values()
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Executor valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException- if this enum type has no constant with the specified namejava.lang.NullPointerException- if the argument is null
-
getString
public java.lang.String getString()
-
getEA
public Executor.ExecutorAction getEA()
-
getType
public static Executor getType(java.lang.String s)
-
-