Class DynamicSuggestionsValidator

    • Constructor Detail

      • DynamicSuggestionsValidator

        public DynamicSuggestionsValidator​(java.lang.String schemaPath,
                                           com.inductiveautomation.ignition.common.gson.JsonElement schemaNode,
                                           JsonSchema parentSchema)
    • Method Detail

      • getPath

        public java.lang.String getPath()
      • validate

        public java.util.Set<ValidationMessage> validate​(com.inductiveautomation.ignition.common.gson.JsonElement node,
                                                         com.inductiveautomation.ignition.common.gson.JsonElement rootNode,
                                                         java.lang.String at)
        Description copied from interface: JsonValidator
        Validate the given JsonElement, the given node is the child node of the root node at given data path.
        Specified by:
        validate in interface JsonValidator
        Parameters:
        node - JsonElement
        rootNode - JsonElement
        at - String
        Returns:
        A list of ValidationMessage if there is any validation error, or an empty list if there is no error.