Package com.atlassian.validation
Class ValidatorFactory
java.lang.Object
com.atlassian.validation.ValidatorFactory
Creates an instance of a
Validator
from a string.
Do not use this API, it is subject to change.
- Since:
- v4.4
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetInstance
(String validator) Gets an instance given a validator FQ class name.getInstanceLazyReference
(String validator)
-
Constructor Details
-
ValidatorFactory
public ValidatorFactory()
-
-
Method Details
-
getInstance
Gets an instance given a validator FQ class name.- Parameters:
validator
- the serialised form of the validator.- Returns:
- the validator.
-
getInstanceLazyReference
-