public final class AMHelper
extends Object
implements RemoteAccess
Constructor and Description |
---|
AMHelper() |
Modifier and Type | Method and Description |
---|---|
static String |
exportEnum(String enumName,
String fileName)
write the contents of a global enum to an excel file, from which you can later create a loadfile to load the global enum
|
static void |
flushGECache(Map ignore)
called by BCast to force flush of global enum cache
|
static Map<String,String> |
getLWCMapping(String type,
Object app) |
static Map<String,String> |
getParamMapping(Object holder) |
static List<String> |
getSortedSoftTypes() |
static List<String> |
getSortedTypes(String name) |
static void |
main(String[] a)
commandline access to utils
|
static void |
printCustomAtts(String fileName)
allow output of all customer-added Attributes into an excel sheet (for overview)
|
String |
printCustomAtts(String fileName,
boolean addModeled)
allow output of all customer-added Attributes into an excel sheet (for overview)
|
public static final int MAJOR
public static final int MINOR
public static void main(String[] a) throws Exception
a
- commandline parametersException
public static String exportEnum(String enumName, String fileName) throws WTException
enumName
- internal name of the enum to exportfileName
- file of excel file to create.WTException
public static void flushGECache(Map ignore) throws Exception
ignore
- Exception
IllegalAccessException
IllegalArgumentException
public static Map<String,String> getParamMapping(Object holder) throws Exception
Exception
public static Map<String,String> getLWCMapping(String type, Object app) throws Exception
Exception
public static void printCustomAtts(String fileName) throws Exception
fileName
- output xls filenameWTException
Exception
public String printCustomAtts(String fileName, boolean addModeled) throws Exception
fileName
- output xls filenameaddModeled
- if true outputs also OOTB attributesException
public static List<String> getSortedTypes(String name) throws WTException
WTException
public static List<String> getSortedSoftTypes() throws WTException
WTException