public interface

Validator

com.atlassian.validation.Validator
Known Indirect Subclasses

Class Overview

Small abstraction to enable valdiation of Strings.

Summary

Nested Classes
interface Validator.Result Post-validation state. 
Public Methods
Validator.Result validate(String value)
Validate the given string to see if it passes and if not, why not.

Public Methods

public Validator.Result validate (String value)

Validate the given string to see if it passes and if not, why not.

Parameters
value all validation input is a String.
Returns
  • A result that contains access to the details of the validation outcome.