Пример #1
0
 public Note(
     NotebookRepo repo, NoteInterpreterLoader replLoader, JobListenerFactory jobListenerFactory) {
   this.repo = repo;
   this.replLoader = replLoader;
   this.jobListenerFactory = jobListenerFactory;
   generateId();
 }
Пример #2
0
 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();
 }