2019-06-02 05:03:08 +03:00
|
|
|
package pro.gravit.launchserver;
|
2018-12-26 15:40:53 +03:00
|
|
|
|
2019-07-06 15:54:10 +03:00
|
|
|
import pro.gravit.utils.command.Command;
|
|
|
|
|
|
|
|
import java.util.Map;
|
2019-01-15 06:35:39 +03:00
|
|
|
|
2019-08-28 13:39:01 +03:00
|
|
|
/**
|
|
|
|
* Allows calling commands using the config command
|
|
|
|
*/
|
2019-07-06 15:54:10 +03:00
|
|
|
public interface Reconfigurable {
|
2019-08-28 13:39:01 +03:00
|
|
|
/**
|
|
|
|
* Gets a list of commands available for this object.
|
|
|
|
* @return Key - Command Name
|
|
|
|
* Value is a command object
|
|
|
|
*/
|
2019-07-06 15:54:10 +03:00
|
|
|
Map<String, Command> getCommands();
|
2018-12-26 15:40:53 +03:00
|
|
|
}
|