private void recordCommand(Command command, CommandState state) { eventRecorder.record(command.getClass().getName(), state.ordinal()); }