| 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 java.util.Map<Traceable,java.lang.String> | 
ModelUtility.validate(Model model)
Validates the model. 
 | 
static java.util.Map<Traceable,java.lang.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(java.io.InputStream in,
    ModelArchiveReader.ArtifactConsumer consumer)
Read a model archive. 
 | 
static Model | 
ModelReader.read(java.io.Reader reader,
    java.lang.String location)
Reads the model file
 The reader is not closed. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
static java.util.jar.JarOutputStream | 
ModelArchiveWriter.write(java.io.OutputStream out,
     Model model,
     java.util.jar.Manifest baseManifest,
     ModelArchiveWriter.ArtifactProvider provider)
Create a model archive. 
 | 
static void | 
ModelWriter.write(java.io.Writer writer,
     Model model)
Writes the model to the writer. 
 | 
Copyright © 2022 The Apache Software Foundation. All rights reserved.