org.nuxeo.ecm.shell.commands.repository
Class ThreadedImportTask
java.lang.Object
org.nuxeo.ecm.shell.commands.repository.ThreadedImportTask
- All Implemented Interfaces:
- Runnable
public class ThreadedImportTask
- extends Object
- implements Runnable
ThreadedImportTask
public ThreadedImportTask(CoreSession session,
int batchSize)
throws Exception
- Throws:
Exception
ThreadedImportTask
public ThreadedImportTask(File rootFile,
DocumentModel rootDoc)
throws Exception
- Throws:
Exception
ThreadedImportTask
public ThreadedImportTask(CoreSession session,
File rootFile,
DocumentModel rootDoc)
throws Exception
- Throws:
Exception
createDirectory
public DocumentModel createDirectory(DocumentModel parent,
File file)
throws Exception
- Throws:
Exception
createFile
public DocumentModel createFile(DocumentModel parent,
File file)
throws Exception
- Throws:
Exception
setInputFile
public void setInputFile(File rootFile)
setTargetFolder
public void setTargetFolder(DocumentModel rootDoc)
isRunning
public boolean isRunning()
run
public void run()
- Specified by:
run
in interface Runnable
dispose
public void dispose()
getBatchSize
public int getBatchSize()
setBatchSize
public void setBatchSize(int batchSize)
setSkipContainerCreation
public void setSkipContainerCreation(Boolean skipContainerCreation)
setRootTask
public void setRootTask()
Copyright © 2011 Nuxeo SAS. All Rights Reserved.