public final class

ValidatorFactory

extends Object
java.lang.Object
   ↳ com.atlassian.validation.ValidatorFactory

Class Overview

Creates an instance of a Validator from a string.

Do not use this API, it is subject to change.

Summary

Public Constructors
ValidatorFactory()
Public Methods
Validator getInstance(String validator)
Gets an instance given a validator FQ class name.
Supplier<Validator> getInstanceLazyReference(String validator)
[Expand]
Inherited Methods
From class java.lang.Object

Public Constructors

public ValidatorFactory ()

Public Methods

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.

public Supplier<Validator> getInstanceLazyReference (String validator)