Class NameUpdater
java.lang.Object
org.apache.jmeter.util.NameUpdater
-
Method Summary
Modifier and TypeMethodDescriptionstatic StringgetCurrentName(String className) Looks up the class name; if that does not exist in the map, then defaults to the input name.static StringgetCurrentName(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 StringgetCurrentName(String value, String propertyName, String className) Looks up class name . property name / value combination; if that does not exist in the map, returns the original value.static StringgetCurrentTestName(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 booleanCheck if a key is in the map; intended for use bySaveService#checkClasses()only.
-
Method Details
-
getCurrentName
-
getCurrentTestName
Looks up test element / gui class combination; if that does not exist in the map, then defaults to getCurrentName(testClassName).- Parameters:
testClassName- - test element class nameguiClassName- - associated gui class name- Returns:
- new test class name
-
getCurrentName
Looks up class name / property name combination; if that does not exist in the map, then defaults to input property name.- Parameters:
propertyName- - property name to checkclassName- - class name containing the property- Returns:
- possibly updated property name
-
getCurrentName
Looks up class name . property name / value combination; if that does not exist in the map, returns the original value.- Parameters:
value- the value to be checkedpropertyName- the name of the propertyclassName- the class containing the propery.- Returns:
- the value, updated if necessary
-
isMapped
Check if a key is in the map; intended for use bySaveService#checkClasses()only.- Parameters:
key- name of the key to check- Returns:
- true if the key is in the map
-