Package com.networknt.codegen.hybrid
Class HybridServerGenerator
- java.lang.Object
-
- com.networknt.codegen.hybrid.HybridServerGenerator
-
- All Implemented Interfaces:
Generator,HybridGenerator
public class HybridServerGenerator extends Object implements HybridGenerator
Created by steve on 28/04/17.
-
-
Field Summary
Fields Modifier and Type Field Description static StringFRAMEWORK-
Fields inherited from interface com.networknt.codegen.Generator
jsonMapper, schemaMap, yamlMapper
-
-
Constructor Summary
Constructors Constructor Description HybridServerGenerator()
-
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
-
-
-
-
Field Detail
-
FRAMEWORK
public static final String FRAMEWORK
- See Also:
- Constant Field Values
-
-
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
-
-