Package | Description |
---|---|
org.apache.sling.provisioning.model | |
org.apache.sling.provisioning.model.io |
Modifier and Type | Method and Description |
---|---|
static Artifact |
Artifact.fromMvnUrl(java.lang.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) |
java.lang.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,
java.io.InputStream is)
Consume the artifact from the archive
The input stream must not be closed by the consumer.
|
java.io.InputStream |
ModelArchiveWriter.ArtifactProvider.getInputStream(Artifact artifact)
Provide an input stream for the artifact.
|
Copyright © 2018 The Apache Software Foundation. All rights reserved.