Package co.cask.tigon.internal.io

Examples of co.cask.tigon.internal.io.SchemaTypeAdapter


    return new FlowSpecificationAdapter(generator, builder.create());
  }

  public static void addTypeAdapters(GsonBuilder builder) {
    builder
      .registerTypeAdapter(Schema.class, new SchemaTypeAdapter())
      .registerTypeAdapter(FlowSpecification.class, new FlowSpecificationCodec())
      .registerTypeAdapter(FlowletSpecification.class, new FlowletSpecificationCodec())
      .registerTypeAdapter(ResourceSpecification.class, new ResourceSpecificationCodec())
      .registerTypeAdapterFactory(new AppSpecTypeAdapterFactory());
  }
View Full Code Here

TOP

Related Classes of co.cask.tigon.internal.io.SchemaTypeAdapter

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.