Class CommandHistoryFactory

java.lang.Object
com.realtime.crossfire.jxclient.settings.CommandHistoryFactory

public class CommandHistoryFactory extends Object
Factory for creating CommandHistory instances by name.
  • Constructor Details

    • CommandHistoryFactory

      public CommandHistoryFactory()
  • Method Details

    • getCommandHistory

      @NotNull public @NotNull CommandHistory getCommandHistory(@NotNull @NotNull 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