Class EnumArgument
java.lang.Object
me.efekos.simpler.commands.syntax.Argument
me.efekos.simpler.commands.syntax.impl.ListArgument
me.efekos.simpler.commands.syntax.impl.EnumArgument
An example extension of a custom
Arguments: This argument is an enum you give at constructor.-
Constructor Summary
ConstructorsConstructorDescriptionEnumArgument(String holder, ArgumentPriority priority, Class<? extends Enum<?>> enumValue) Creates an instance ofListArgument. -
Method Summary
Methods inherited from class me.efekos.simpler.commands.syntax.impl.ListArgument
getList, getPlaceHolder, getPriority, handleCorrection
-
Constructor Details
-
EnumArgument
Creates an instance ofListArgument.- Parameters:
holder- Placeholder of this argument.priority- Priority of this argument.enumValue- An enumerator.
-