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
package aQute.bnd.osgi.resource;
import java.util.Map;
import org.osgi.resource.Capability;
import org.osgi.resource.Resource;
public class CapabilityImpl extends CapReq implements Capability {
CapabilityImpl(String namespace, Resource resource, Map directives, Map attributes) {
super(MODE.Capability, namespace, resource, directives, attributes);
}
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("Provide");
super.toString(sb);
return sb.toString();
}
}