Uses of Class
org.apache.sling.provisioning.model.Model
-
Uses of Model in org.apache.sling.provisioning.model
Modifier and TypeMethodDescriptionstatic 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 TypeMethodDescriptionstatic 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
Merge the additional model into the base model.static void
MergeUtility.merge
(Model base, Model additional, MergeUtility.MergeOptions options) Merge the additional model into the base model.static void
Deprecated.Use {linkMergeUtility.merge(Model, Model)
static void
Validates the model.ModelUtility.validateIncludingVersion
(Model model) Validates the model and checks that each feature has a valid version. -
Uses of Model in org.apache.sling.provisioning.model.io
Modifier and TypeMethodDescriptionstatic Model
ModelArchiveReader.read
(InputStream in, ModelArchiveReader.ArtifactConsumer consumer) Read a model archive.static Model
Reads the model file The reader is not closed.Modifier and TypeMethodDescriptionstatic JarOutputStream
ModelArchiveWriter.write
(OutputStream out, Model model, Manifest baseManifest, ModelArchiveWriter.ArtifactProvider provider) Create a model archive.static void
Writes the model to the writer.
ModelUtility.getEffectiveModel(Model)
orModelUtility.getEffectiveModel(Model, ResolverOptions)
instead