public class DocContext
extends java.lang.Object
| 构造器和说明 |
|---|
DocContext() |
| 限定符和类型 | 方法和说明 |
|---|---|
static AbsControllerParser |
controllerParser()
get controller parser, it will return different parser by different framework you are using.
|
static java.util.List<java.lang.String> |
getApiVersionList() |
static java.io.File[] |
getControllerFiles()
get all controllers in this project
|
static java.util.List<ControllerNode> |
getControllerNodeList() |
static java.lang.String |
getCurrentApiVersion() |
static java.lang.String |
getDocPath()
api docs output path
|
static DocsConfig |
getDocsConfig() |
static I18n |
getI18n() |
static java.util.List<java.lang.String> |
getJavaSrcPaths()
get java src paths
|
static java.util.List<ControllerNode> |
getLastVersionControllerNodes() |
static java.io.File |
getLogFile()
get log file path
|
static java.lang.String |
getProjectPath()
get project path
|
static IResponseWrapper |
getResponseWrapper() |
static void |
init(DocsConfig config) |
public static void init(DocsConfig config)
public static java.io.File getLogFile()
public static java.lang.String getProjectPath()
public static java.lang.String getDocPath()
public static java.util.List<java.lang.String> getJavaSrcPaths()
public static java.io.File[] getControllerFiles()
public static AbsControllerParser controllerParser()
public static IResponseWrapper getResponseWrapper()
public static java.util.List<ControllerNode> getControllerNodeList()
public static DocsConfig getDocsConfig()
public static java.lang.String getCurrentApiVersion()
public static java.util.List<java.lang.String> getApiVersionList()
public static java.util.List<ControllerNode> getLastVersionControllerNodes()
public static I18n getI18n()