public class DataMapHelper extends Object
| Constructor and Description |
|---|
DataMapHelper() |
| Modifier and Type | Method and Description |
|---|---|
static Map<String,List<Element>> |
addElementsToDataMap(RoundEnvironment roundEnv)
get initialized map, And fill in elements list with panel elements
|
static Map<String,List<File>> |
getDataModuleMap(List<File> files)
creates a map of modules with list of csv data files
|
static Map<String,List<Element>> |
getDataObjectMap(RoundEnvironment roundEnv)
maps the module with the panels containing the Panel annotation
|
static Map<String,List<Element>> |
initializePanelMap(RoundEnvironment roundEnv)
creates a map of modules, But does not add the elements
key: module
value: classes with Panel annotation
|
static Map<String,List<String>> |
mergeMaps(Map<String,List<String>> mapA,
Map<String,List<String>> mapB) |
public static Map<String,List<File>> getDataModuleMap(List<File> files)
files - public static Map<String,List<Element>> getDataObjectMap(RoundEnvironment roundEnv)
roundEnv - public static Map<String,List<Element>> addElementsToDataMap(RoundEnvironment roundEnv)
roundEnv - public static Map<String,List<Element>> initializePanelMap(RoundEnvironment roundEnv)
roundEnv - Copyright © 2019. All rights reserved.