com.atlassian.validation
Class ValidatorFactory
java.lang.Object
com.atlassian.validation.ValidatorFactory
public final class ValidatorFactory
- extends Object
Creates an instance of a Validator
from a string.
Do not use this API, it is subject to change.
- Since:
- v4.4
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ValidatorFactory
public ValidatorFactory()
getInstance
public Validator getInstance(String validator)
- Gets an instance given a validator FQ class name.
- Parameters:
validator
- the serialised form of the validator.
- Returns:
- the validator.
getInstanceLazyReference
public com.google.common.base.Supplier<Validator> getInstanceLazyReference(String validator)
Copyright © 2002-2014 Atlassian. All Rights Reserved.