public Note( NotebookRepo repo, NoteInterpreterLoader replLoader, JobListenerFactory jobListenerFactory) { this.repo = repo; this.replLoader = replLoader; this.jobListenerFactory = jobListenerFactory; generateId(); }
public Note( NotebookRepo repo, InterpreterFactory factory, JobListenerFactory jlFactory, SearchService noteIndex, Credentials credentials, NoteEventListener noteEventListener) { this.repo = repo; this.factory = factory; this.jobListenerFactory = jlFactory; this.index = noteIndex; this.noteEventListener = noteEventListener; this.credentials = credentials; generateId(); }