Package org.openhab.core.model.yaml
Interface YamlElement
@NonNullByDefault
public interface YamlElement
The
YamlElement
interface offers an identifier and a check validity method
to any element defined in a YAML configuration file.- Author:
- Laurent Garnier - Initial contribution
-
Method Summary
-
Method Details
-
getId
String getId()Get the identifier of the YAML element- Returns:
- the identifier as a string
-
isValid
boolean isValid()Check that the YAML element is valid- Returns:
- true if all the checks are OK
-