Class YamlDeserializerEndpointAwareBase<T>

    • Method Summary

      All Methods Instance Methods Abstract Methods Concrete Methods 
      Modifier and Type Method Description
      protected abstract void setEndpointUri​(org.apache.camel.CamelContext context, T target, Map<String,​Object> parameters)  
      protected void setProperties​(T target, org.snakeyaml.engine.v2.nodes.MappingNode node)
      Set properties from a YAML node to the given target.
      • Methods inherited from class org.apache.camel.dsl.yaml.common.YamlDeserializerBase

        construct, getType, handleUnknownProperty, newInstance, newInstance, setProperty
      • Methods inherited from class org.apache.camel.dsl.yaml.common.YamlDeserializerSupport

        asBoolean, asByteArray, asByteArray, asClass, asClass, asClassArray, asClassArray, asDouble, asEndpoint, asEndpoint, asFlatCollection, asFlatList, asFlatSet, asInt, asLong, asMap, asMappingNode, asNestedCollection, asNestedList, asNestedSet, asScalarMap, asSequenceNode, asStringList, asStringList, asStringSet, asStringSet, asText, asType, getDeserializationContext, getNamedNode, setDeserializationContext
      • Methods inherited from interface org.snakeyaml.engine.v2.api.ConstructNode

        constructRecursive
    • Constructor Detail

      • YamlDeserializerEndpointAwareBase

        public YamlDeserializerEndpointAwareBase​(Class<T> type)
    • Method Detail

      • setProperties

        protected void setProperties​(T target,
                                     org.snakeyaml.engine.v2.nodes.MappingNode node)
        Set properties from a YAML node to the given target.
        Overrides:
        setProperties in class org.apache.camel.dsl.yaml.common.YamlDeserializerBase<T>
        Parameters:
        node - the node
        target - the target object
      • setEndpointUri

        protected abstract void setEndpointUri​(org.apache.camel.CamelContext context,
                                               T target,
                                               Map<String,​Object> parameters)