Package com.networknt.codegen.hybrid
Class HybridServiceGenerator
- java.lang.Object
-
- com.networknt.codegen.hybrid.HybridServiceGenerator
-
- All Implemented Interfaces:
Generator,HybridGenerator
public class HybridServiceGenerator extends Object implements HybridGenerator
Created by steve on 28/04/17.
-
-
Field Summary
-
Fields inherited from interface com.networknt.codegen.Generator
jsonMapper, schemaMap, yamlMapper
-
-
Constructor Summary
Constructors Constructor Description HybridServiceGenerator()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidgenerate(String targetPath, Object model, com.fasterxml.jackson.databind.JsonNode config)StringgetFramework()-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface com.networknt.codegen.Generator
checkExist, getArtifactId, getConfigSchema, getDecryptOption, getDockerOrganization, getGroupId, getHandlerPackage, getHttpPort, getHttpsPort, getKafkaTopic, getModelPackage, getRootPackage, getServicePackage, getVersion, isBuildMaven, isEclipseIDE, isEnableHttp, isEnableHttp2, isEnableHttps, isEnableParamDescription, isEnableRegistry, isGenerateModelOnly, isKafkaConsumer, isKafkaProducer, isKafkaStreams, isMultipleModule, isOverwriteHandler, isOverwriteHandlerTest, isOverwriteModel, isPrometheusMetrics, isSkipPomFile, isSpecChangeCodeReGenOnly, isSupportAvro, isSupportClient, isSupportDb, isSupportH2ForTest, isUseLightProxy, setExecutable, transfer, transfer, transferGradle, transferMaven
-
Methods inherited from interface com.networknt.codegen.hybrid.HybridGenerator
getJsonPath
-
-
-
-
Method Detail
-
getFramework
public String getFramework()
- Specified by:
getFrameworkin interfaceGenerator
-
generate
public void generate(String targetPath, Object model, com.fasterxml.jackson.databind.JsonNode config) throws IOException
- Specified by:
generatein interfaceGenerator- Throws:
IOException
-
-