Package studio.mevera.imperat
Interface FlagRegistrar<S extends CommandSource>
- Type Parameters:
S- the type of source that extends theCommandSourceclass, representing the origin or context of the command (e.g., a user, a system, etc.).
- All Known Subinterfaces:
FlagExtractor<S>
public interface FlagRegistrar<S extends CommandSource>
The
FlagRegistrar interface is responsible for managing the registration and retrieval
of free flags in the Imperat command framework. Free flags are flags that can be used anywhere
in the command syntax, without being tied to a specific position or index.-
Method Summary
Modifier and TypeMethodDescriptionSet<FlagArgument<S>>Retrieves all registered flags in the system.default booleanisFlagRegistered(String flagName)
-
Method Details
-
getRegisteredFlags
Set<FlagArgument<S>> getRegisteredFlags()Retrieves all registered flags in the system. -
isFlagRegistered
-