Interface YamlArtefactFieldDeserializationProcessor


public interface YamlArtefactFieldDeserializationProcessor
Deserializes the artefact field from yaml format to Plan
  • Method Summary

    Modifier and Type
    Method
    Description
    default com.fasterxml.jackson.databind.node.ArrayNode
    createArrayNode(com.fasterxml.jackson.core.ObjectCodec codec)
     
    default com.fasterxml.jackson.databind.node.ObjectNode
    createObjectNode(com.fasterxml.jackson.core.ObjectCodec codec)
     
    boolean
    deserializeArtefactField(String artefactClass, Map.Entry<String,com.fasterxml.jackson.databind.JsonNode> field, com.fasterxml.jackson.databind.node.ObjectNode output, com.fasterxml.jackson.core.ObjectCodec codec)
     
  • Method Details

    • deserializeArtefactField

      boolean deserializeArtefactField(String artefactClass, Map.Entry<String,com.fasterxml.jackson.databind.JsonNode> field, com.fasterxml.jackson.databind.node.ObjectNode output, com.fasterxml.jackson.core.ObjectCodec codec) throws com.fasterxml.jackson.core.JsonProcessingException
      Parameters:
      artefactClass - the name of artefact
      field - the field name/value in yaml format
      output - the output json node (in technical format)
      codec - the codec to create json elements
      Returns:
      true if this processor is applicable for the artefact field, false otherwise
      Throws:
      com.fasterxml.jackson.core.JsonProcessingException
    • createArrayNode

      default com.fasterxml.jackson.databind.node.ArrayNode createArrayNode(com.fasterxml.jackson.core.ObjectCodec codec)
    • createObjectNode

      default com.fasterxml.jackson.databind.node.ObjectNode createObjectNode(com.fasterxml.jackson.core.ObjectCodec codec)