Class NameUtil.TrackingNameValidatorWrapper
- java.lang.Object
- 
- com.inductiveautomation.ignition.common.util.NameUtil.TrackingNameValidatorWrapper
 
- 
- All Implemented Interfaces:
- NameUtil.NameValidator
 - Enclosing class:
- NameUtil
 
 public static class NameUtil.TrackingNameValidatorWrapper extends java.lang.Object implements NameUtil.NameValidator This NameValidator wrapper is used for generating many names, when the underlying name validator won't be updated on the fly. Any values that return false for nameExists are stored in a set, and will return true for subsequent checks. This handles the case, for example, where the caller needs to add "Tag 1, Tag 2" to a system that already has "Tag 1". Tag 1 would be renamed to Tag 2, but the underlying system wouldn't have been updated, and the new Tag 2 would collide.
- 
- 
Constructor SummaryConstructors Constructor Description TrackingNameValidatorWrapper(NameUtil.NameValidator internalValidator)
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description booleannameExists(java.lang.String value)
 
- 
- 
- 
Constructor Detail- 
TrackingNameValidatorWrapperpublic TrackingNameValidatorWrapper(NameUtil.NameValidator internalValidator) 
 
- 
 - 
Method Detail- 
nameExistspublic boolean nameExists(java.lang.String value) - Specified by:
- nameExistsin interface- NameUtil.NameValidator
 
 
- 
 
-