Interface HelpEntryFactory<S extends CommandSource>
- Type Parameters:
S- the source type
public interface HelpEntryFactory<S extends CommandSource>
Factory interface for creating
HelpEntry instances from command pathways.
Allows customization of how help entries are constructed.-
Method Summary
Modifier and TypeMethodDescriptioncreateEntry(@NotNull CommandPathway<S> pathway) Creates a help entry from the given command pathway.static <S extends CommandSource>
HelpEntryFactory<S>
-
Method Details
-
defaultFactory
-
createEntry
Creates a help entry from the given command pathway.- Parameters:
pathway- the command pathway to convert into a help entry- Returns:
- a new help entry representing the pathway
-