public class Importer extends java.lang.Object implements ImportService
Constructor and Description |
---|
Importer(OmeroEnv env,
ImportConfigSource cfg)
Creates a new instance.
|
Modifier and Type | Method and Description |
---|---|
boolean |
run(ImportInput data,
java.nio.file.Path importLog)
Runs an import.
|
public Importer(OmeroEnv env, ImportConfigSource cfg)
env
- the service environment.cfg
- the import configuration.public boolean run(ImportInput data, java.nio.file.Path importLog)
ImportService
run
in interface ImportService
data
- details what to import and where.importLog
- the file where to output the OMERO import log.true
if the command succeeded, false
otherwise.