public class ImportTrigger extends java.lang.Object implements ImportRequestor
ImportRequestor
.Constructor and Description |
---|
ImportTrigger(ImportEnv env) |
Modifier and Type | Method and Description |
---|---|
ImportBatch |
enqueue(java.util.stream.Stream<ImportInput> requests)
Adds the import requests to the queue and returns immediately.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
enqueue
public ImportTrigger(ImportEnv env)
public ImportBatch enqueue(java.util.stream.Stream<ImportInput> requests)
ImportRequestor
QueuedImport
for
each import request.enqueue
in interface ImportRequestor
requests
- detail what to import.QueuedImport
s, each having its
own ImportId
through which you can get hold of the corresponding
import run, for example to get some feedback on progress.