Package com.xebialabs.deployit.plugin.api.validation

# Class Regex.Validator

java.lang.Object
com.xebialabs.deployit.plugin.api.validation.Regex.Validator

All Implemented Interfaces:
  `PatternValidator<Object>`, `Validator<Object>`

Enclosing class:
  Regex

public static class Regex.Validator extends Object implements PatternValidator<Object>

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `Validator()`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `String`
  `getMessage()`
  `String`
  `getPattern()`
  `void`
  `setMessage(String message)`
  `void`
  `setPattern(String pattern)`
  `void`
  `validate(Object value, ValidationContext context)`

  ### Methods inherited from class java.lang.Object

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- ## Constructor Details

  - ### Validator

    public Validator()

- ## Method Details

  - ### validate

    public void validate(Object value, ValidationContext context)
    Specified by:
      `validate` in interface `Validator<Object>`

  - ### getPattern

    public String getPattern()
    Specified by:
      `getPattern` in interface `PatternValidator<Object>`

  - ### setPattern

    public void setPattern(String pattern)

  - ### getMessage

    public String getMessage()
    Specified by:
      `getMessage` in interface `PatternValidator<Object>`

  - ### setMessage

    public void setMessage(String message)