com.atlassian.validation
Class ValidatorFactory

java.lang.Object
  extended by 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

Constructor Summary
ValidatorFactory()
           
 
Method Summary
 Validator getInstance(String validator)
          Gets an instance given a validator FQ class name.
 com.google.common.base.Supplier<Validator> getInstanceLazyReference(String validator)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ValidatorFactory

public ValidatorFactory()
Method Detail

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-2015 Atlassian. All Rights Reserved.