#411 Migrate settings to new structure (work in progress)

- Work in progress: config.yml cannot be loaded after migration
This commit is contained in:
ljacqu
2016-11-22 21:16:56 +01:00
parent 4214c6dc80
commit 254655abdb
9 changed files with 206 additions and 45 deletions
@@ -10,6 +10,23 @@ public class Command {
/** The executor of the command. */
private Executor executor = Executor.PLAYER;
/**
* Default constructor (for bean mapping).
*/
public Command() {
}
/**
* Constructor.
*
* @param command the command
* @param executor the executor of the command
*/
public Command(String command, Executor executor) {
this.command = command;
this.executor = executor;
}
public String getCommand() {
return command;
}