Package io.bdeploy.bhive.op
Class ImportTreeOperation
- All Implemented Interfaces:
BHiveExecution,Callable<ObjectId>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionExecutes the operation.setSkipEmpty(boolean skip) setSourcePath(Path toImport) Set the path to import from.Methods inherited from class io.bdeploy.bhive.BHive.TransactedOperation
callMethods inherited from class io.bdeploy.bhive.BHive.Operation
execute, getActivityReporter, getAuditor, getLockContentSupplier, getLockContentValidator, getManifestDatabase, getMarkerRoot, getObjectManager, getTransactions, setRetryCount, submitFileOperation
-
Constructor Details
-
ImportTreeOperation
public ImportTreeOperation()
-
-
Method Details
-
callTransacted
Description copied from class:BHive.TransactedOperationExecutes the operation. The current thread is guaranteed to be associated with a transaction.- Specified by:
callTransactedin classBHive.TransactedOperation<ObjectId>- Throws:
Exception
-
setSourcePath
Set the path to import from. The given directory will be recursively imported into theBHive. -
setSkipEmpty
- Parameters:
skip- whether to skip empty directories while importing
-