| Package | Description |
|---|---|
| org.apache.sling.feature | |
| org.apache.sling.feature.builder |
| Modifier and Type | Method and Description |
|---|---|
static ArtifactId |
ArtifactId.fromMvnId(String coordinates)
Create a new artifact id from maven coordinates/id
groupId:artifactId[:packaging[:classifier]]:version
|
static ArtifactId |
ArtifactId.fromMvnUrl(String url)
Create a new artifact id from a maven url,
'mvn:' group-id '/' artifact-id [ '/' [version] [ '/' [type] [ '/' classifier ] ] ] ]
|
ArtifactId |
Application.getFramework()
Get the framework id
|
ArtifactId |
Include.getId()
Get the id of the artifact.
|
ArtifactId |
Feature.getId()
Get the id of the artifact.
|
ArtifactId |
Artifact.getId()
Get the id of the artifact.
|
static ArtifactId |
ArtifactId.parse(String s)
Create a new artifact id from a string, the string must either be a
mvn url or a mvn id (= coordinates)
|
| Modifier and Type | Method and Description |
|---|---|
Map<String,List<ArtifactId>> |
Include.getArtifactExtensionRemovals() |
List<ArtifactId> |
Include.getBundleRemovals() |
List<ArtifactId> |
Application.getFeatureIds()
Get the list of used features to build this application
|
| Modifier and Type | Method and Description |
|---|---|
int |
ArtifactId.compareTo(ArtifactId o) |
boolean |
Bundles.containsExact(ArtifactId id)
Checks whether the exact artifact is available
|
boolean |
Bundles.containsSame(ArtifactId id)
Checks whether the same artifact is available, neglecting the version
|
Feature |
Feature.copy(ArtifactId id)
Create a copy of the feature with a different id
|
Artifact |
Bundles.getSame(ArtifactId id)
Get the artifact for the given id, neglecting the version
|
boolean |
ArtifactId.isSame(ArtifactId id)
Test whether the artifact id is pointing to the same artifact but potentially a different version
|
boolean |
Bundles.removeExact(ArtifactId id)
Remove the exact artifact.
|
boolean |
Bundles.removeSame(ArtifactId id)
Remove the same artifact, neglecting the version.
|
void |
Application.setFramework(ArtifactId framework)
Set the framework id
|
| Constructor and Description |
|---|
Artifact(ArtifactId id)
Construct a new artifact
|
Feature(ArtifactId id)
Construct a new feature.
|
Include(ArtifactId id)
Construct a new Include.
|
| Modifier and Type | Method and Description |
|---|---|
Feature |
FeatureProvider.provide(ArtifactId id)
Provide the feature with the given id.
|
Copyright © 2007–2018 The Apache Software Foundation. All rights reserved.