Package org.apache.sling.feature.scanner
Class FeatureDescriptor
- java.lang.Object
-
- org.apache.sling.feature.scanner.Descriptor
-
- org.apache.sling.feature.scanner.ContainerDescriptor
-
- org.apache.sling.feature.scanner.FeatureDescriptor
-
public abstract class FeatureDescriptor extends ContainerDescriptor
Information about a feature. Note that this implementation is not synchronized. If multiple threads access a descriptor concurrently, and at least one of the threads modifies the descriptor structurally, it must be synchronized externally. However, once a descriptor is locked, it is safe to access it concurrently.
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
FeatureDescriptor(org.apache.sling.feature.Feature f)
Constructor for a feature descriptor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.apache.sling.feature.Feature
getFeature()
Return the feature-
Methods inherited from class org.apache.sling.feature.scanner.ContainerDescriptor
getArtifactDescriptors, getBundleDescriptors, lock
-
Methods inherited from class org.apache.sling.feature.scanner.Descriptor
aggregate, checkLocked, getCapabilities, getDynamicImportedPackages, getExportedPackages, getImportedPackages, getName, getRequirements, isLocked, toString
-
-