Class CommandHistoryFactory


  • public class CommandHistoryFactory
    extends java.lang.Object
    Factory for creating CommandHistory instances by name.
    • Constructor Detail

      • CommandHistoryFactory

        public CommandHistoryFactory()
    • Method Detail

      • getCommandHistory

        @NotNull
        public @NotNull CommandHistory getCommandHistory​(@NotNull
                                                         @NotNull java.lang.String ident)
        Returns a CommandHistory instance by name. Calling this function twice for the same name returns the same instance.
        Parameters:
        ident - the name
        Returns:
        the command history instance