Package | Description |
---|---|
org.apache.sling.provisioning.model | |
org.apache.sling.provisioning.model.io |
Modifier and Type | Method and Description |
---|---|
static Model |
ModelUtility.applyArtifactVersions(Model model,
ModelUtility.ArtifactVersionResolver resolver)
Resolves artifact versions that are no set explicitly in the provisioning file via the given resolver (version = "LATEST").
|
static Model |
ModelUtility.applyVariables(Model model,
ModelUtility.VariableResolver resolver)
Applies a set of variables to the given model.
|
static Model |
ModelUtility.getEffectiveModel(Model model)
Replace all variables in the model and return a new model with the replaced values.
|
static Model |
ModelUtility.getEffectiveModel(Model model,
ModelUtility.ResolverOptions options)
Replace all variables in the model and return a new model with the replaced values.
|
static Model |
ModelUtility.getEffectiveModel(Model model,
ModelUtility.VariableResolver resolver)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
static Model |
ModelUtility.applyArtifactVersions(Model model,
ModelUtility.ArtifactVersionResolver resolver)
Resolves artifact versions that are no set explicitly in the provisioning file via the given resolver (version = "LATEST").
|
static Model |
ModelUtility.applyVariables(Model model,
ModelUtility.VariableResolver resolver)
Applies a set of variables to the given model.
|
static Model |
ModelUtility.getEffectiveModel(Model model)
Replace all variables in the model and return a new model with the replaced values.
|
static Model |
ModelUtility.getEffectiveModel(Model model,
ModelUtility.ResolverOptions options)
Replace all variables in the model and return a new model with the replaced values.
|
static Model |
ModelUtility.getEffectiveModel(Model model,
ModelUtility.VariableResolver resolver)
Deprecated.
|
static void |
ModelUtility.merge(Model base,
Model additional)
Deprecated.
Use {link
MergeUtility.merge(Model, Model) |
static void |
MergeUtility.merge(Model base,
Model additional)
Merge the additional model into the base model.
|
static void |
ModelUtility.merge(Model base,
Model additional,
boolean handleRemove)
|
static void |
MergeUtility.merge(Model base,
Model additional,
MergeUtility.MergeOptions options)
Merge the additional model into the base model.
|
static Map<Traceable,String> |
ModelUtility.validate(Model model)
Validates the model.
|
static Map<Traceable,String> |
ModelUtility.validateIncludingVersion(Model model)
Validates the model and checks that each feature has a valid version.
|
Modifier and Type | Method and Description |
---|---|
static Model |
ModelArchiveReader.read(InputStream in,
ModelArchiveReader.ArtifactConsumer consumer)
Read a model archive.
|
static Model |
ModelReader.read(Reader reader,
String location)
Reads the model file
The reader is not closed.
|
Modifier and Type | Method and Description |
---|---|
static JarOutputStream |
ModelArchiveWriter.write(OutputStream out,
Model model,
Manifest baseManifest,
ModelArchiveWriter.ArtifactProvider provider)
Create a model archive.
|
static void |
ModelWriter.write(Writer writer,
Model model)
Writes the model to the writer.
|
Copyright © 2017 The Apache Software Foundation. All rights reserved.