Class FileBlobProducers
- java.lang.Object
-
- org.nuxeo.importer.stream.automation.FileBlobProducers
-
public class FileBlobProducers extends Object
Create blob messages using a list of files.- Since:
- 10.2
-
-
Constructor Summary
Constructors Constructor Description FileBlobProducers()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description protected static voidcheckAccess(OperationContext context)protected StringgetBasePath()protected FilegetListFile()protected intgetLogSize()protected longgetNbBlobs()voidrun()
-
-
-
Field Detail
-
ID
public static final String ID
- See Also:
- Constant Field Values
-
ctx
protected OperationContext ctx
-
listFile
protected String listFile
-
nbBlobs
protected Integer nbBlobs
-
nbThreads
protected Integer nbThreads
-
logName
protected String logName
-
logSize
protected Integer logSize
-
basePath
protected String basePath
-
-
Method Detail
-
run
public void run() throws OperationException- Throws:
OperationException
-
getNbBlobs
protected long getNbBlobs()
-
getLogSize
protected int getLogSize()
-
getBasePath
protected String getBasePath()
-
getListFile
protected File getListFile()
-
checkAccess
protected static void checkAccess(OperationContext context)
-
-