public abstract class Descriptor extends Object
Modifier | Constructor and Description |
---|---|
protected |
Descriptor(String name) |
Modifier and Type | Method and Description |
---|---|
protected void |
aggregate(Descriptor d) |
protected void |
checkLocked() |
Set<org.osgi.resource.Capability> |
getCapabilities()
Return the list of capabilities.
|
Set<PackageInfo> |
getDynamicImportedPackages() |
Set<PackageInfo> |
getExportedPackages() |
Set<PackageInfo> |
getImportedPackages() |
String |
getName()
Returns the name of the entity associated with this descriptor.
|
Set<org.apache.sling.feature.MatchingRequirement> |
getRequirements()
Return the list of requirements.
|
boolean |
isLocked() |
void |
lock() |
String |
toString() |
protected Descriptor(String name)
public void lock()
public final boolean isLocked()
protected void checkLocked()
protected void aggregate(Descriptor d)
public final Set<PackageInfo> getExportedPackages()
public final Set<PackageInfo> getImportedPackages()
public final Set<PackageInfo> getDynamicImportedPackages()
public String getName()
public final Set<org.apache.sling.feature.MatchingRequirement> getRequirements()
public final Set<org.osgi.resource.Capability> getCapabilities()
Copyright © 2007–2019 The Apache Software Foundation. All rights reserved.