Class AlpineArgumentResolver<T>
java.lang.Object
dev.rollczi.litecommands.argument.resolver.ArgumentResolver<org.bukkit.command.CommandSender,T>
co.crystaldev.alpinecore.framework.command.AlpineArgumentResolver<T>
- All Implemented Interfaces:
Activatable
,dev.rollczi.litecommands.argument.parser.Parser<org.bukkit.command.CommandSender,
,T> dev.rollczi.litecommands.argument.resolver.ArgumentResolverBase<org.bukkit.command.CommandSender,
,T> dev.rollczi.litecommands.argument.resolver.MultipleArgumentResolver<org.bukkit.command.CommandSender,
,T> dev.rollczi.litecommands.argument.suggester.Suggester<org.bukkit.command.CommandSender,
,T> dev.rollczi.litecommands.range.Rangeable<dev.rollczi.litecommands.argument.Argument<T>>
public abstract class AlpineArgumentResolver<T>
extends dev.rollczi.litecommands.argument.resolver.ArgumentResolver<org.bukkit.command.CommandSender,T>
implements Activatable
- Since:
- 0.3.0
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionfinal void
activate
(@NotNull AlpinePlugin context) Activate this object.final void
deactivate
(@NotNull AlpinePlugin context) Deactivate this object.boolean
isActive()
Is this object active?Methods inherited from class dev.rollczi.litecommands.argument.resolver.ArgumentResolver
canParse, getRange, parse, parse
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface co.crystaldev.alpinecore.framework.Activatable
canDeactivate
Methods inherited from interface dev.rollczi.litecommands.argument.resolver.MultipleArgumentResolver
suggest
Methods inherited from interface dev.rollczi.litecommands.argument.parser.Parser
canParse
-
Constructor Details
-
AlpineArgumentResolver
public AlpineArgumentResolver()
-
-
Method Details
-
activate
Description copied from interface:Activatable
Activate this object.- Specified by:
activate
in interfaceActivatable
- Parameters:
context
- The plugin which initiated the request
-
deactivate
Description copied from interface:Activatable
Deactivate this object.- Specified by:
deactivate
in interfaceActivatable
- Parameters:
context
- The plugin which initiated the request
-
isActive
public boolean isActive()Description copied from interface:Activatable
Is this object active?- Specified by:
isActive
in interfaceActivatable
- Returns:
- Whether the object is active
-