Class 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 Detail

      • FeatureDescriptor

        protected FeatureDescriptor​(org.apache.sling.feature.Feature f)
        Constructor for a feature descriptor
        Parameters:
        f - The feature
    • Method Detail

      • getFeature

        public org.apache.sling.feature.Feature getFeature()
        Return the feature
        Returns:
        The feature