Class ComponentInputsDeserializer

java.lang.Object
com.codebarrel.automation.api.component.inputs.ComponentInputsDeserializer

@Component public class ComponentInputsDeserializer extends Object
Turns a serialized component inputs map to strongly typed component inputs where all map values have the correct type information.

Some of this could eventually be done with a custom JacksonDeserializer (see IssueFieldValueDeserializer),

  • Constructor Details

    • ComponentInputsDeserializer

      public ComponentInputsDeserializer()
  • Method Details

    • convertTypes

      public void convertTypes(ComponentInputs inputs)
    • convertEntry

      public static void convertEntry(Map<String,Object> inputs, String key, Class type)
    • convertEntry

      public static void convertEntry(Map<String,Object> inputs, String key, com.fasterxml.jackson.core.type.TypeReference typeRef)