Class ManifestNextIdOperation

java.lang.Object
io.bdeploy.bhive.BHive.Operation<Long>
io.bdeploy.bhive.op.ManifestNextIdOperation
All Implemented Interfaces:
BHiveExecution, Callable<Long>

@ReadOnlyOperation public class ManifestNextIdOperation extends BHive.Operation<Long>
Returns the next available version number for Manifests which use a simple counter versioning scheme.
  • Constructor Details

    • ManifestNextIdOperation

      public ManifestNextIdOperation()
  • Method Details

    • call

      public Long call() throws Exception
      Throws:
      Exception
    • setManifestName

      public ManifestNextIdOperation setManifestName(String name)
      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.