Package | Description |
---|---|
org.apache.sling.provisioning.model | |
org.apache.sling.provisioning.model.io |
Modifier and Type | Method and Description |
---|---|
static Artifact |
Artifact.fromMvnUrl(String url)
Create a new artifact from a maven url,
'mvn:' [ repository-url '!' ] group-id '/' artifact-id [ '/' [version] [ '/' [type] [ '/' classifier ] ] ] ]
|
Artifact |
ArtifactGroup.search(Artifact template)
Search an artifact with the same groupId, artifactId, type and classifier.
|
Modifier and Type | Method and Description |
---|---|
void |
ArtifactGroup.add(Artifact item) |
String |
ModelUtility.ArtifactVersionResolver.resolve(Artifact artifact)
Setting a version for an artifact dependency in a Sling Provisioning file is optional.
|
Artifact |
ArtifactGroup.search(Artifact template)
Search an artifact with the same groupId, artifactId, type and classifier.
|
Modifier and Type | Method and Description |
---|---|
void |
ModelArchiveReader.ArtifactConsumer.consume(Artifact artifact,
InputStream is)
Consume the artifact from the archive
The input stream must not be closed by the consumer.
|
InputStream |
ModelArchiveWriter.ArtifactProvider.getInputStream(Artifact artifact)
Provide an input stream for the artifact.
|
Copyright © 2017 The Apache Software Foundation. All rights reserved.