com.github.kongchen.swagger.docgen.mavenplugin
类 ApiDocumentMojo
java.lang.Object
org.apache.maven.plugin.AbstractMojo
com.github.kongchen.swagger.docgen.mavenplugin.ApiDocumentMojo
- 所有已实现的接口:
- org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo
@Mojo(name="generate",
defaultPhase=COMPILE,
configurator="include-project-dependencies",
requiresDependencyResolution=COMPILE_PLUS_RUNTIME)
public class ApiDocumentMojo- extends org.apache.maven.plugin.AbstractMojo
Created with IntelliJ IDEA.
User: kongchen
Date: 3/7/13
| 从接口 org.apache.maven.plugin.Mojo 继承的字段 |
ROLE |
| 从类 org.apache.maven.plugin.AbstractMojo 继承的方法 |
getLog, getPluginContext, setLog, setPluginContext |
| 从类 java.lang.Object 继承的方法 |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ApiDocumentMojo
public ApiDocumentMojo()
getApiSources
public List<ApiSource> getApiSources()
setApiSources
public void setApiSources(List<ApiSource> apiSources)
execute
public void execute()
throws org.apache.maven.plugin.MojoExecutionException,
org.apache.maven.plugin.MojoFailureException
- 抛出:
org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoFailureException
Copyright © 2014. All Rights Reserved.