public abstract class CodeGMogo extends org.apache.maven.plugin.AbstractMojo implements CodeGConstants
CodeGConstants.CodeGCommand, CodeGConstants.ControllerType, CodeGConstants.MockModel| Modifier and Type | Field and Description |
|---|---|
protected String |
author |
protected String |
bundleFiles |
protected String |
company |
protected String |
mockModel
0:common;1:swagger
|
protected String |
module |
protected String |
notice |
protected String |
packagePrefix |
protected boolean |
skipAuthor |
protected boolean |
skipCopyright |
protected boolean |
skipNotice |
protected String |
yearCodegTime |
ControllerType_EXAMPLE, JacksonUtilsClassName| Constructor and Description |
|---|
CodeGMogo() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
executeInternal(CodeGConstants.CodeGCommand codeGCommand) |
getLog, getPluginContext, setLog, setPluginContext@Parameter(property="codeg.bundleFiles",
defaultValue="demo_bundle.xml,demo_bundle1.xml")
protected String bundleFiles
@Parameter(property="codeg.packagePrefix",
defaultValue="com.fastjrun.demo.")
protected String packagePrefix
@Parameter(property="codeg.module",
defaultValue="Demo")
protected String module
@Parameter(property="codeg.mockModel",
defaultValue="swagger2")
protected String mockModel
@Parameter(property="codeg.author",
defaultValue="cuiyingfeng")
protected String author
@Parameter(property="codeg.skipAuthor",
defaultValue="false")
protected boolean skipAuthor
@Parameter(property="codeg.company",
defaultValue="fastjrun")
protected String company
@Parameter(property="codeg.yearCodegTime") protected String yearCodegTime
@Parameter(property="codeg.skipCopyright",
defaultValue="false")
protected boolean skipCopyright
@Parameter(property="codeg.notice",
defaultValue="\u6ce8\u610f\uff1a\u672c\u5185\u5bb9\u4ec5\u9650\u4e8e\u516c\u53f8\u5185\u90e8\u4f20\u9605\uff0c\u7981\u6b62\u5916\u6cc4\u4ee5\u53ca\u7528\u4e8e\u5176\u4ed6\u7684\u5546\u4e1a\u76ee\u7684")
protected String notice
@Parameter(property="codeg.skipNotice",
defaultValue="false")
protected boolean skipNotice
protected void executeInternal(CodeGConstants.CodeGCommand codeGCommand)
Copyright © 2022. All rights reserved.