Package org.apache.pulsar.broker
Class BaseGenerateDocumentation
java.lang.Object
org.apache.pulsar.broker.BaseGenerateDocumentation
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionprotected static class -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected StringgenerateDocByApiModelProperty(String className, String type, StringBuilder sb) protected StringgenerateDocByFieldContext(String className, String type, StringBuilder sb) protected abstract StringgenerateDocumentByClassName(String className) booleanprotected voidwriteDocListByFieldContext(List<Field> fieldList, StringBuilder sb, Object obj)
-
Field Details
-
isRequired
-
isOptional
-
isDeprecated
-
prefix
-
suffix
-
-
Constructor Details
-
BaseGenerateDocumentation
public BaseGenerateDocumentation()
-
-
Method Details
-
run
- Throws:
Exception
-
generateDocumentByClassName
- Throws:
Exception
-
writeDocListByFieldContext
protected void writeDocListByFieldContext(List<Field> fieldList, StringBuilder sb, Object obj) throws Exception - Throws:
Exception
-
generateDocByFieldContext
protected String generateDocByFieldContext(String className, String type, StringBuilder sb) throws Exception - Throws:
Exception
-
generateDocByApiModelProperty
protected String generateDocByApiModelProperty(String className, String type, StringBuilder sb) throws Exception - Throws:
Exception
-