package de.ugoe.cs.util.console; import java.util.List; /** *

* Defines the interface for a command. The class names of the commands must be * of the form {@code CMD}, otherwise they cannot be used by the * {@link CommandExecuter}. *

* * @author Steffen Herbold */ public interface Command { /** *

* Executes a command. *

* * @param parameters * parameters for the command. */ public void run(List parameters); /** *

* Sends information about how to use a command to the console. *

*/ public void help(); }