Package io.automatiko.engine.codegen
Class AbstractApplicationSection
- java.lang.Object
-
- io.automatiko.engine.codegen.AbstractApplicationSection
-
- All Implemented Interfaces:
ApplicationSection
- Direct Known Subclasses:
DecisionContainerGenerator,ProcessesContainerGenerator
public class AbstractApplicationSection extends java.lang.Object implements ApplicationSection
Base implementation for anApplicationSection. It provides a skeleton for a "section" in the Application generated class. Subclasses may extend this base class and decorate the provided simple implementations of the interface methods with custom logic.
-
-
Constructor Summary
Constructors Constructor Description AbstractApplicationSection(java.lang.String sectionClassName, java.lang.String methodName, java.lang.Class<?> classType)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description com.github.javaparser.ast.body.ClassOrInterfaceDeclarationclassDeclaration()com.github.javaparser.ast.body.MethodDeclarationfactoryMethod()com.github.javaparser.ast.body.FieldDeclarationfieldDeclaration()java.lang.StringsectionClassName()protected booleanuseApplication()-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface io.automatiko.engine.codegen.ApplicationSection
injectableClass, setupStatements
-
-
-
-
Method Detail
-
classDeclaration
public com.github.javaparser.ast.body.ClassOrInterfaceDeclaration classDeclaration()
- Specified by:
classDeclarationin interfaceApplicationSection
-
sectionClassName
public java.lang.String sectionClassName()
- Specified by:
sectionClassNamein interfaceApplicationSection
-
fieldDeclaration
public com.github.javaparser.ast.body.FieldDeclaration fieldDeclaration()
- Specified by:
fieldDeclarationin interfaceApplicationSection
-
useApplication
protected boolean useApplication()
-
factoryMethod
public com.github.javaparser.ast.body.MethodDeclaration factoryMethod()
- Specified by:
factoryMethodin interfaceApplicationSection
-
-