biz.aQute.bnd.reporter.manifest.dto.ProvideCapabilityDTO Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of biz.aQute.bnd Show documentation
Show all versions of biz.aQute.bnd Show documentation
This command line utility is the Swiss army knife of OSGi. It provides you with a breadth of tools to understand and manage OSGi based systems. This project basically uses bndlib.
package biz.aQute.bnd.reporter.manifest.dto;
import java.util.LinkedHashMap;
import java.util.LinkedList;
import java.util.List;
import java.util.Map;
import org.osgi.dto.DTO;
/**
* A representation of a provided capability.
*/
public class ProvideCapabilityDTO extends DTO {
/**
* The namespace of the capability.
*
* Must not be {@code null}.
*
*/
public String namespace;
/**
* The time at which a capability will be available.
*
* If it is not specified this field must be set to "resolve".
*
*/
public String effective = "resolve";
/**
* A lists of package names that are used by the capability.
*
* If it is not specified this field must be empty.
*
*/
public List uses = new LinkedList<>();
/**
* A map of attributes that define the capability.
*
* If it is not specified this field must be empty.
*
*/
public Map typedAttributes = new LinkedHashMap<>();
/**
* A map of arbitrary directives.
*
* If it is not specified this field must be empty.
*
*/
public Map arbitraryDirectives = new LinkedHashMap<>();
}