Class JsltObjectVariables

  • All Implemented Interfaces:
    JsltVariableBuilder

    public class JsltObjectVariables
    extends java.lang.Object
    implements JsltVariableBuilder
    Builds a map of variables for JSLT from object metadata.

    This allows you to use object metadata that is already of the type JsonNode; possibly via a previous execution of JsltMetadataService with a JsltQueryToObjectMetadata. If the key exists, but is not a JsonNode then an exception is likely.

    In the adapter configuration file this class is aliased as jslt-object-variable which is the preferred alternative to the fully qualified classname when building your configuration.

    • Constructor Detail

      • JsltObjectVariables

        public JsltObjectVariables()
    • Method Detail

      • withObjectMetadataKeyRegexp

        public JsltObjectVariables withObjectMetadataKeyRegexp​(java.lang.String regexp)
      • getObjectMetadataKeyRegexp

        public java.lang.String getObjectMetadataKeyRegexp()
        The filter you wish to apply to for object metadata

        The regular expression should only match object metadata that is of the type JsonNode. If not specified then no object metadata is included.

      • setObjectMetadataKeyRegexp

        public void setObjectMetadataKeyRegexp​(java.lang.String objectMetadataKeyRegexp)
        The filter you wish to apply to for object metadata

        The regular expression should only match object metadata that is of the type JsonNode. If not specified then no object metadata is included.