public abstract class ContentPackageDescriptor extends ArtifactDescriptor
| Constructor and Description |
|---|
ContentPackageDescriptor(String name)
Constructor for the descriptor
|
| Modifier and Type | Method and Description |
|---|---|
abstract List<BundleDescriptor> |
getBundles()
Get the included bundles
|
abstract List<org.apache.sling.feature.Configuration> |
getConfigurations()
Get the included configurations
|
abstract List<String> |
getContentPaths()
Get the content paths
|
abstract Properties |
getPackageProperties()
Get the package properties
|
abstract ContentPackageDescriptor |
getParentContentPackage()
Get the parent content package
|
abstract String |
getParentContentPath()
Get the parent content path
|
boolean |
hasEmbeddedArtifacts()
Check whether the package has embedded artifacts
|
boolean |
isEmbeddedInContentPackage()
Whether this artifact is embedded in a content package
|
String |
toString() |
getArtifact, getArtifactFile, getManifestaggregate, checkLocked, getCapabilities, getDynamicImportedPackages, getExportedPackages, getImportedPackages, getName, getRequirements, isLocked, lockpublic ContentPackageDescriptor(String name)
name - The nameIllegalArgumentException - if name is nullpublic abstract List<String> getContentPaths()
public abstract List<BundleDescriptor> getBundles()
public abstract List<org.apache.sling.feature.Configuration> getConfigurations()
public abstract ContentPackageDescriptor getParentContentPackage()
nullpublic abstract String getParentContentPath()
nullpublic boolean isEmbeddedInContentPackage()
true if embedded.public boolean hasEmbeddedArtifacts()
true if the package has embedded artifactspublic abstract Properties getPackageProperties()
public String toString()
toString in class DescriptorCopyright © 2007–2021 The Apache Software Foundation. All rights reserved.