
aQute.bnd.service.merge.MergeResources Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of biz.aQute.bndlib Show documentation
Show all versions of biz.aQute.bndlib Show documentation
bndlib: A Swiss Army Knife for OSGi
The newest version!
package aQute.bnd.service.merge;
import java.util.Optional;
import aQute.bnd.osgi.Resource;
/**
* For plugins knowing how to merge two resources.
*/
public interface MergeResources {
/**
* @param path a path (used for validation if the path segment is supported
* for merge)
* @param a first resource
* @param b second resource to be merged with a
* @return the merged resource if possible or an empty optional if merging
* was not possible.
*/
Optional tryMerge(String path, Resource a, Resource b);
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy