Package io.virtdata.processors
Class DocForFunc
- java.lang.Object
-
- io.virtdata.processors.DocForFunc
-
- All Implemented Interfaces:
DocFuncData
public class DocForFunc extends java.lang.Object implements DocFuncData
-
-
Constructor Summary
Constructors Constructor Description DocForFunc()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddCategories(Category[] categories)voidaddCtor(java.lang.String ctorDoc, java.util.LinkedHashMap<java.lang.String,java.lang.String> args, java.util.List<java.util.List<java.lang.String>> examples)Category[]getCategories()java.lang.StringgetClassJavadoc()Javadoc for the class, or null if there is none.java.lang.StringgetClassName()java.util.ArrayList<DocCtorData>getCtors()The list of constructors for this documented type.java.lang.StringgetInType()The input type for the apply method in the documented function class.java.lang.StringgetOutType()The output type for the apply method in the documented function class.java.lang.StringgetPackageName()voidsetClassJavadoc(java.lang.String classJavadoc)voidsetClassName(java.lang.String className)voidsetInType(java.lang.String inType)voidsetOutType(java.lang.String outType)voidsetPackageName(java.lang.String packageName)java.lang.StringtoString()
-
-
-
Method Detail
-
setPackageName
public void setPackageName(java.lang.String packageName)
-
getPackageName
public java.lang.String getPackageName()
- Specified by:
getPackageNamein interfaceDocFuncData- Returns:
- the package name for the documented type
-
getCategories
public Category[] getCategories()
- Specified by:
getCategoriesin interfaceDocFuncData- Returns:
- Return the categories for this function.
-
setClassName
public void setClassName(java.lang.String className)
-
getClassName
public java.lang.String getClassName()
- Specified by:
getClassNamein interfaceDocFuncData- Returns:
- the the
Class.getSimpleName()of the class element
-
setClassJavadoc
public void setClassJavadoc(java.lang.String classJavadoc)
-
getClassJavadoc
public java.lang.String getClassJavadoc()
Description copied from interface:DocFuncDataJavadoc for the class, or null if there is none.- Specified by:
getClassJavadocin interfaceDocFuncData- Returns:
- a String of class javadoc data, or null if none
-
setInType
public void setInType(java.lang.String inType)
-
getInType
public java.lang.String getInType()
Description copied from interface:DocFuncDataThe input type for the apply method in the documented function class. Documented function classes must always implement a Java 8 functional interface.- Specified by:
getInTypein interfaceDocFuncData- Returns:
- the input type name
-
setOutType
public void setOutType(java.lang.String outType)
-
getOutType
public java.lang.String getOutType()
Description copied from interface:DocFuncDataThe output type for the apply method in the documented function class. Documented function classes must always implement a Java 8 functional interface.- Specified by:
getOutTypein interfaceDocFuncData- Returns:
- the output type name
-
addCtor
public void addCtor(java.lang.String ctorDoc, java.util.LinkedHashMap<java.lang.String,java.lang.String> args, java.util.List<java.util.List<java.lang.String>> examples)
-
getCtors
public java.util.ArrayList<DocCtorData> getCtors()
Description copied from interface:DocFuncDataThe list of constructors for this documented type.- Specified by:
getCtorsin interfaceDocFuncData- Returns:
- a list of constructor models
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
addCategories
public void addCategories(Category[] categories)
-
-