Package io.bdeploy.bhive.op
Class ManifestNextIdOperation
- All Implemented Interfaces:
BHiveExecution,Callable<Long>
Returns the next available version number for Manifests which use a simple counter versioning scheme.
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class io.bdeploy.bhive.BHive.Operation
execute, getActivityReporter, getAuditor, getLockContentSupplier, getLockContentValidator, getManifestDatabase, getMarkerRoot, getObjectManager, getTransactions, setRetryCount, submitFileOperation
-
Constructor Details
-
ManifestNextIdOperation
public ManifestNextIdOperation()
-
-
Method Details
-
call
- Throws:
Exception
-
setManifestName
- Parameters:
name- the name of the manifest to calculate a new version for. Note that this must be the full name of the manifest, not just a segment.- Returns:
- the operation for chaining.
-