Class DefaultReferenceHandler

java.lang.Object
io.bdeploy.bhive.objects.DefaultReferenceHandler
All Implemented Interfaces:
ReferenceHandler

public class DefaultReferenceHandler extends Object implements ReferenceHandler
Default reference handler which recursively exports Manifest references inline in the referencing location.
  • Constructor Details

    • DefaultReferenceHandler

      public DefaultReferenceHandler(ObjectManager om)
  • Method Details

    • onReference

      public void onReference(Path location, Tree.Key key, Manifest referenced)
      Specified by:
      onReference in interface ReferenceHandler
      Parameters:
      location - the location where the reference is located (the references parent directory).
      key - the Tree.Key referencing the manifest.
      referenced - the referenced manifest