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
  • Constructor Details

    • ValidatorFactory

      public ValidatorFactory()
  • Method Details

    • 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 Supplier<Validator> getInstanceLazyReference(String validator)