Class UniqueLocationGenerator
java.lang.Object
com._1c.g5.v8.dt.internal.platform.services.core.UniqueLocationGenerator
Unique location generator.
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
UniqueLocationGenerator
public UniqueLocationGenerator()
-
-
Method Details
-
generate
Generate location name, based on given name prefix and collection of the existing locations.
Also checks generating location existence.- Parameters:
parentPath
- the parent path, to start generating locations in, cannot benull
namePrefix
- name prefix to generate name with, cannot benull
existingLocations
- collection of the existing location to check uniqueness for, cannot benull
- Returns:
- unique location, based on given name prefix and collection of the existing names,
never
null
-