public final class NameUpdater extends Object
| Modifier and Type | Method and Description |
|---|---|
static String |
getCurrentName(String className)
Looks up the class name; if that does not exist in the map,
then defaults to the input name.
|
static String |
getCurrentName(String propertyName,
String className)
Looks up class name / property name combination; if that
does not exist in the map, then defaults to input property name.
|
static String |
getCurrentName(String value,
String propertyName,
String className)
Looks up class name .
|
static String |
getCurrentTestName(String testClassName,
String guiClassName)
Looks up test element / gui class combination; if that
does not exist in the map, then defaults to getCurrentName(testClassName).
|
static boolean |
isMapped(String key)
Check if a key is in the map; intended for use by
SaveService#checkClasses()
only. |
public static String getCurrentName(String className)
className - the classname from the script filepublic static String getCurrentTestName(String testClassName, String guiClassName)
testClassName - - test element class nameguiClassName - - associated gui class namepublic static String getCurrentName(String propertyName, String className)
propertyName - - property name to checkclassName - - class name containing the propertypublic static String getCurrentName(String value, String propertyName, String className)
value - the value to be checkedpropertyName - the name of the propertyclassName - the class containing the propery.public static boolean isMapped(String key)
SaveService#checkClasses()
only.key - name of the key to checkCopyright © 1998-2019 Apache Software Foundation. All Rights Reserved.