public abstract class ArtifactDescriptor extends Descriptor
| Modifier | Constructor and Description |
|---|---|
protected |
ArtifactDescriptor(String name)
Constructor for a new descriptor
|
| Modifier and Type | Method and Description |
|---|---|
abstract org.apache.sling.feature.Artifact |
getArtifact()
Get the artifact
|
abstract URL |
getArtifactFile()
Get the artifact file
|
abstract Manifest |
getManifest()
If the artifact has a manifest, return it
|
aggregate, checkLocked, getCapabilities, getDynamicImportedPackages, getExportedPackages, getImportedPackages, getName, getRequirements, isLocked, lock, toStringprotected ArtifactDescriptor(String name)
name - The nameIllegalArgumentException - if name is nullpublic abstract Manifest getManifest()
nullpublic abstract URL getArtifactFile()
null if not present.public abstract org.apache.sling.feature.Artifact getArtifact()
Copyright © 2007–2021 The Apache Software Foundation. All rights reserved.