Class ModuleMapHelper
java.lang.Object
core.support.annotation.helper.annotationMap.ModuleMapHelper
public class ModuleMapHelper extends Object
-
Constructor Summary
Constructors Constructor Description ModuleMapHelper() -
Method Summary
Modifier and Type Method Description static List<File>getFilesWithAnnotation(List<File> files, AnnotationObject annotation)filters files that are in data folder if file has annotation: @Panel, @Data, @Interface, then add to file liststatic Map<String,List<String>>getModuleMap(AnnotationObject annotation)maps the module with the panels containing the Panel annotationstatic Map<String,List<String>>getModuleMap(List<File> files)get map of module and path eg.
-
Constructor Details
-
ModuleMapHelper
public ModuleMapHelper()
-
-
Method Details
-
getModuleMap
maps the module with the panels containing the Panel annotation- Parameters:
roundEnv-- Returns:
-
getModuleMap
get map of module and path eg. module: webApp adding panel: module.webApp.panel.UserPanel- Parameters:
files-- Returns:
-
getFilesWithAnnotation
filters files that are in data folder if file has annotation: @Panel, @Data, @Interface, then add to file list- Parameters:
files-- Returns:
-