Uses of Class
org.apache.sling.feature.Feature
Packages that use Feature
Package
Description
-
Uses of Feature in org.apache.sling.feature
Methods in org.apache.sling.feature that return FeatureModifier and TypeMethodDescriptionFeature.copy()
Create a copy of the featureFeature.copy
(ArtifactId id) Create a copy of the feature with a different id For contained items like bundles, artifacts and configurations a copy is created as well.Methods in org.apache.sling.feature with parameters of type FeatureModifier and TypeMethodDescriptionint
ExecutionEnvironmentExtension.getExecutionEnvironmentExtension
(Feature feature) Get the execution environment from the feature - if it exists. -
Uses of Feature in org.apache.sling.feature.builder
Methods in org.apache.sling.feature.builder that return FeatureModifier and TypeMethodDescriptionstatic Feature
FeatureBuilder.assemble
(ArtifactId featureId, BuilderContext context, Feature... features) Assemble a feature based on the provided features.static Feature
FeatureBuilder.assemble
(Feature feature, BuilderContext context) Assemble the full feature by processing its prototype.static Feature[]
FeatureBuilder.deduplicate
(BuilderContext context, Feature... features) Remove duplicate and prototype features.FeatureProvider.provide
(ArtifactId id) Provide the feature with the given id.static Feature[]
FeatureBuilder.resolve
(BuilderContext context, String... featureIds) Resolve a set of features based on their ids.Methods in org.apache.sling.feature.builder with parameters of type FeatureModifier and TypeMethodDescriptionstatic Feature
FeatureBuilder.assemble
(ArtifactId featureId, BuilderContext context, Feature... features) Assemble a feature based on the provided features.static Feature
FeatureBuilder.assemble
(Feature feature, BuilderContext context) Assemble the full feature by processing its prototype.static Feature[]
FeatureBuilder.deduplicate
(BuilderContext context, Feature... features) Remove duplicate and prototype features.void
MergeHandler.merge
(HandlerContext context, Feature target, Feature source, Extension targetEx, Extension sourceEx) Merge the source extension into the target extension.void
PostProcessHandler.postProcess
(HandlerContext context, Feature feature, Extension extension) Post process the feature with respect to the extension.static void
FeatureBuilder.resolveVariables
(Feature feature, Map<String, String> additionalVariables) Resolve variables in the feature. -
Uses of Feature in org.apache.sling.feature.io.archive
Methods in org.apache.sling.feature.io.archive that return types with arguments of type FeatureModifier and TypeMethodDescriptionArchiveReader.read
(InputStream in, ArchiveReader.ArtifactConsumer consumer) Read a feature model archive.Methods in org.apache.sling.feature.io.archive with parameters of type FeatureModifier and TypeMethodDescriptionstatic JarOutputStream
ArchiveWriter.write
(OutputStream out, Manifest baseManifest, ArtifactProvider provider, Feature... features) Create a feature model archive. -
Uses of Feature in org.apache.sling.feature.io.json
Methods in org.apache.sling.feature.io.json that return FeatureModifier and TypeMethodDescriptionstatic Feature
Read a new feature from the reader The reader is not closed.Methods in org.apache.sling.feature.io.json with parameters of type Feature -
Uses of Feature in org.apache.sling.feature.osgi
Methods in org.apache.sling.feature.osgi that return FeatureModifier and TypeMethodDescriptionstatic Feature
Converters.convert
(org.osgi.service.feature.Feature feature) Convert an OSGi feature into an Apache Sling featureMethods in org.apache.sling.feature.osgi with parameters of type Feature