Interface Command

All Known Implementing Classes:
Clear, Close, Connect, ConsoleCommand, Convert, Create, Disconnect, Drop, Export, Federate, Load, Open, PrintHelp, PrintInfo, QueryEvaluator, SetParameters, Show, Sparql, Verify

public interface Command
Abstraction of console commands.
Author:
Dale Visser
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    execute(String... parameters)
    Execute the given parameters.
    Return the names of the settings used.
  • Method Details

    • execute

      void execute(String... parameters) throws IOException
      Execute the given parameters.
      Parameters:
      parameters - parameters typed by user
      Throws:
      IOException - if a problem occurs reading or writing
    • usesSettings

      String[] usesSettings()
      Return the names of the settings used.
      Returns:
      string array of settings