mirror of
https://github.com/lacerta-doc/Lacerta.git
synced 2026-11-02 11:37:37 +00:00
WIP
This commit is contained in:
3 files changed
+20
-1
No files matched your search
@@ -45,6 +45,9 @@ public class DocumentProcessorImpl implements DocumentProcessor{
|
||||
|
||||
@AssistedInject
|
||||
public DocumentProcessorImpl(@Assisted DocumentDetail documentDetail) {
|
||||
if (documentDetail == null) {
|
||||
throw new IllegalArgumentException("documentDetail must not be null");
|
||||
}
|
||||
this.documentDetail = documentDetail;
|
||||
}
|
||||
|
||||
|
||||
@@ -1,4 +1,16 @@
|
||||
package one.nem.lacerta.processor.module;
|
||||
|
||||
import dagger.assisted.Assisted;
|
||||
import dagger.assisted.AssistedInject;
|
||||
import one.nem.lacerta.model.document.DocumentDetail;
|
||||
|
||||
public class DocumentProcessorModule {
|
||||
|
||||
private final DocumentDetail documentDetail;
|
||||
|
||||
@AssistedInject
|
||||
public DocumentProcessorModule(@Assisted DocumentDetail documentDetail) {
|
||||
this.documentDetail = documentDetail;
|
||||
}
|
||||
|
||||
}
|
||||
Reference in new issue
Block a user