Class ModuleMapHelper
- java.lang.Object
-
- core.support.annotation.helper.annotationMap.ModuleMapHelper
-
public class ModuleMapHelper extends Object
-
-
Constructor Summary
Constructors Constructor Description ModuleMapHelper()
-
Method Summary
All Methods Static Methods Concrete Methods 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.
-
-
-
Method Detail
-
getModuleMap
public static Map<String,List<String>> getModuleMap(AnnotationObject annotation)
maps the module with the panels containing the Panel annotation- Parameters:
roundEnv-- Returns:
-
getModuleMap
public static Map<String,List<String>> getModuleMap(List<File> files)
get map of module and path eg. module: webApp adding panel: module.webApp.panel.UserPanel- Parameters:
files-- Returns:
-
getFilesWithAnnotation
public 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 list- Parameters:
files-- Returns:
-
-