Package org.openhab.core.model.yaml
Class YamlModelUtils
java.lang.Object
org.openhab.core.model.yaml.YamlModelUtils
Static utility constants and methods that are helpful when dealing with YAML models.
- Author:
- Laurent Garnier - Initial contribution
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic boolean
isIsolatedModel
(String modelName) Indicates if a model is an isolated model An isolated model is a temporary model loaded without impacting any object registry.
-
Field Details
-
PREFIX_TMP_MODEL
- See Also:
-
-
Constructor Details
-
YamlModelUtils
public YamlModelUtils()
-
-
Method Details
-
isIsolatedModel
Indicates if a model is an isolated model An isolated model is a temporary model loaded without impacting any object registry.- Parameters:
modelName
- the model name- Returns:
- true if the model identified by the provided name is an isolated model, false otherwise
-