Class FuncEnumerator
java.lang.Object
io.nosqlbench.virtdata.processors.FuncEnumerator
public class FuncEnumerator
extends java.lang.Object
This enumerator receives stateful updates out of order from the annotation
processor and constructs consistent view of document models for listeners.
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceFuncEnumerator.ListenerThese Listeners handle data that has been found by the FuncEnumerator. -
Constructor Summary
Constructors Constructor Description FuncEnumerator(javax.lang.model.util.Types types, javax.lang.model.util.Elements elements, javax.annotation.processing.Filer filer) -
Method Summary
Modifier and Type Method Description voidaddListener(FuncEnumerator.Listener listener)voidflush()voidonApplyTypes(java.lang.String inType, java.lang.String outType)voidonCategories(io.nosqlbench.virtdata.annotations.Category[] categories)voidonClass(java.lang.String packageName, java.lang.String simpleClassName, java.lang.String classJavadoc)voidonConstructor(java.util.LinkedHashMap<java.lang.String,java.lang.String> args, java.lang.String ctorJavaDoc, java.util.List<java.util.List<java.lang.String>> examples)
-
Constructor Details
-
FuncEnumerator
public FuncEnumerator(javax.lang.model.util.Types types, javax.lang.model.util.Elements elements, javax.annotation.processing.Filer filer)
-
-
Method Details
-
addListener
-
onClass
public void onClass(java.lang.String packageName, java.lang.String simpleClassName, java.lang.String classJavadoc) -
onApplyTypes
public void onApplyTypes(java.lang.String inType, java.lang.String outType) -
onConstructor
public void onConstructor(java.util.LinkedHashMap<java.lang.String,java.lang.String> args, java.lang.String ctorJavaDoc, java.util.List<java.util.List<java.lang.String>> examples) -
flush
public void flush() -
onCategories
public void onCategories(io.nosqlbench.virtdata.annotations.Category[] categories)
-