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

# Annotation Interface Regex

@Retention(RUNTIME) @Target(FIELD) public @interface Regex

- ## Nested Class Summary

  Nested Classes
  Modifier and Type
  Class
  Description
  `static class`
  `Regex.Validator`

- ## Required Element Summary

  Required Elements
  Modifier and Type
  Required Element
  Description
  `String`
  `pattern`

- ## Optional Element Summary

  Optional Elements
  Modifier and Type
  Optional Element
  Description
  `String`
  `message`

- ## Field Summary

  Fields
  Modifier and Type
  Field
  Description
  `static final String`
  `DEFAULT_MESSAGE`

- ## Field Details

  - ### DEFAULT_MESSAGE

    static final String DEFAULT_MESSAGE
    See Also:
      - Constant Field Values

- ## Element Details

  - ### pattern

    String pattern

  - ### message

    String message
    Default:
      `"Value \'%s\' did not conform to pattern %s"`