Class TypeAdapter

java.lang.Object
com.thoughtworks.go.plugin.configrepo.codec.TypeAdapter
Direct Known Subclasses:
ArtifactTypeAdapter, MaterialTypeAdapter, TaskTypeAdapter

public abstract class TypeAdapter extends Object
  • Field Details

  • Constructor Details

    • TypeAdapter

      public TypeAdapter()
  • Method Details

    • determineJsonElementForDistinguishingImplementers

      public <T> T determineJsonElementForDistinguishingImplementers(com.google.gson.JsonElement json, com.google.gson.JsonDeserializationContext context, String field, String origin)
    • classForName

      protected abstract Class<?> classForName(String typeName, String origin)