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, getManifest
aggregate, checkLocked, getCapabilities, getDynamicImportedPackages, getExportedPackages, getImportedPackages, getName, getRequirements, isLocked, lock
public ContentPackageDescriptor(String name)
name
- The nameIllegalArgumentException
- if name is null
public abstract List<String> getContentPaths()
public abstract List<BundleDescriptor> getBundles()
public abstract List<org.apache.sling.feature.Configuration> getConfigurations()
public abstract ContentPackageDescriptor getParentContentPackage()
null
public abstract String getParentContentPath()
null
public boolean isEmbeddedInContentPackage()
true
if embedded.public boolean hasEmbeddedArtifacts()
true
if the package has embedded artifactspublic abstract Properties getPackageProperties()
public String toString()
toString
in class Descriptor
Copyright © 2007–2021 The Apache Software Foundation. All rights reserved.