Class MakeCopy

  • All Implemented Interfaces:
    MakePlugin

    public class MakeCopy
    extends java.lang.Object
    implements MakePlugin
    • Constructor Summary

      Constructors 
      Constructor Description
      MakeCopy()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      Resource make​(Builder builder, java.lang.String destination, java.util.Map<java.lang.String,​java.lang.String> argumentsOnMake)
      This plugin is called when Include-Resource detects a reference to a resource that it can not find in the file system.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • MakeCopy

        public MakeCopy()
    • Method Detail

      • make

        public Resource make​(Builder builder,
                             java.lang.String destination,
                             java.util.Map<java.lang.String,​java.lang.String> argumentsOnMake)
                      throws java.lang.Exception
        Description copied from interface: MakePlugin
        This plugin is called when Include-Resource detects a reference to a resource that it can not find in the file system.
        Specified by:
        make in interface MakePlugin
        Parameters:
        builder - The current builder
        destination - The source string (i.e. the place where bnd looked)
        argumentsOnMake - Any arguments on the clause in Include-Resource
        Returns:
        A resource or null if no resource could be made
        Throws:
        java.lang.Exception