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