Package io.automatiko.engine.codegen
Class ConfigGenerator
- java.lang.Object
-
- io.automatiko.engine.codegen.ConfigGenerator
-
public class ConfigGenerator extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description ConfigGenerator(java.lang.String packageName)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static com.github.javaparser.ast.expr.MethodCallExprcallMerge(java.lang.String configsName, java.lang.Class<?> configToListenersScope, java.lang.String configToListenersIdentifier, java.lang.String listenersName)com.github.javaparser.ast.CompilationUnitcompilationUnit()java.lang.StringgeneratedFilePath()com.github.javaparser.ast.expr.ObjectCreationExprnewInstance()protected booleanuseInjection()voidwithClassLoader(java.lang.ClassLoader projectClassLoader)ConfigGeneratorwithDecisionConfig(DecisionConfigGenerator cfg)ConfigGeneratorwithDependencyInjection(DependencyInjectionAnnotator annotator)ConfigGeneratorwithProcessConfig(ProcessConfigGenerator cfg)
-
-
-
Method Detail
-
withProcessConfig
public ConfigGenerator withProcessConfig(ProcessConfigGenerator cfg)
-
withDecisionConfig
public ConfigGenerator withDecisionConfig(DecisionConfigGenerator cfg)
-
withDependencyInjection
public ConfigGenerator withDependencyInjection(DependencyInjectionAnnotator annotator)
-
newInstance
public com.github.javaparser.ast.expr.ObjectCreationExpr newInstance()
-
compilationUnit
public com.github.javaparser.ast.CompilationUnit compilationUnit()
-
useInjection
protected boolean useInjection()
-
generatedFilePath
public java.lang.String generatedFilePath()
-
withClassLoader
public void withClassLoader(java.lang.ClassLoader projectClassLoader)
-
callMerge
public static com.github.javaparser.ast.expr.MethodCallExpr callMerge(java.lang.String configsName, java.lang.Class<?> configToListenersScope, java.lang.String configToListenersIdentifier, java.lang.String listenersName)
-
-