Interface YamlArtefactFieldSerializationProcessor


public interface YamlArtefactFieldSerializationProcessor
Serialized the artefact field from Plan object to the yaml format
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    serializeArtefactField(AbstractArtefact artefact, Field field, step.handlers.javahandler.jsonschema.FieldMetadata fieldMetadata, com.fasterxml.jackson.core.JsonGenerator gen)
     
  • Method Details

    • serializeArtefactField

      boolean serializeArtefactField(AbstractArtefact artefact, Field field, step.handlers.javahandler.jsonschema.FieldMetadata fieldMetadata, com.fasterxml.jackson.core.JsonGenerator gen) throws IOException, IllegalAccessException
      Parameters:
      artefact - the artefact object
      field - the field to be serialized
      fieldMetadata - the field metadata to be used in yaml format (the field name in yaml format, the default value etc)
      gen - the output yaml generator
      Returns:
      true if this processor is applicable for the artefact field, false otherwise
      Throws:
      IOException
      IllegalAccessException