Package | Description |
---|---|
org.apache.sling.feature | |
org.apache.sling.feature.builder |
Modifier and Type | Method and Description |
---|---|
Feature |
Feature.copy()
Create a copy of the feature
|
Feature |
Feature.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.
|
Modifier and Type | Method and Description |
---|---|
int |
Feature.compareTo(Feature o) |
Modifier and Type | Method and Description |
---|---|
static 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.
|
Feature |
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.
|
Modifier and Type | Method and Description |
---|---|
static 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.
|
Copyright © 2007–2019 The Apache Software Foundation. All rights reserved.