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 class
Executor.ChangePageExecutor
static interface
Executor.ExecutorAction
static class
Executor.OpenFileExecutor
static class
Executor.OpenURLExecutor
static class
Executor.RunCommandExecutor
static class
Executor.ShowTextExecutor
static class
Executor.SuggestCommandExecutor
-
Enum Constant Summary
Enum Constants Enum Constant Description CHANGE_PAGE
LINK
OPEN_FILE
RUN_COMMAND
SHOW_TEXT
SUGGEST_COMMAND
-
Method Summary
Modifier and Type Method Description Executor.ExecutorAction
getEA()
java.lang.String
getString()
static Executor
getType(java.lang.String s)
static Executor
valueOf(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)
-
-