Package org.apache.sling.feature.scanner
Class ArtifactDescriptor
- java.lang.Object
-
- org.apache.sling.feature.scanner.Descriptor
-
- org.apache.sling.feature.scanner.ArtifactDescriptor
-
- Direct Known Subclasses:
BundleDescriptor,ContentPackageDescriptor
public abstract class ArtifactDescriptor extends Descriptor
Information about an artifact. 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 protectedArtifactDescriptor(java.lang.String name)
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description abstract org.apache.sling.feature.ArtifactgetArtifact()Get the artifactabstract java.net.URLgetArtifactFile()Get the artifact file-
Methods inherited from class org.apache.sling.feature.scanner.Descriptor
aggregate, checkLocked, getCapabilities, getDynamicImportedPackages, getExportedPackages, getImportedPackages, getName, getRequirements, isLocked, lock, toString
-
-