Uses of Interface
org.osgi.service.repository.RequirementBuilder
-
Uses of RequirementBuilder in org.osgi.service.repository
Modifier and TypeMethodDescriptionRequirementBuilder.addAttribute
(String name, Object value) Add an attribute to the set of attributes.RequirementBuilder.addDirective
(String name, String value) Add a directive to the set of directives.Repository.newRequirementBuilder
(String namespace) Return a newRequirementBuilder
which provides a convenient way to create a requirement.RequirementBuilder.setAttributes
(Map<String, Object> attributes) Replace all attributes with the attributes in the specified map.RequirementBuilder.setDirectives
(Map<String, String> directives) Replace all directives with the directives in the specified map.RequirementBuilder.setResource
(Resource resource) Set theResource
.