aQute.bnd.osgi.resource.CapabilityImpl 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.osgi.resource;
import java.util.Map;
import org.osgi.resource.Capability;
import org.osgi.resource.Resource;
import aQute.bnd.build.model.conversions.CapabilityFormatter;
public class CapabilityImpl extends CapReq implements Capability {
private static final CapabilityFormatter cf = new CapabilityFormatter();
private transient String msg = null;
CapabilityImpl(String namespace, Resource resource, Map directives,
Map attributes) {
super(namespace, resource, directives, attributes);
}
@Override
public String toString() {
String m = msg;
if (m != null) {
return m;
}
return msg = cf.convert(this);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy