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

# Annotation Interface NotContain

@Retention(RUNTIME) @Target(FIELD) public @interface NotContain
The annotated element must not contain the specified values.

Supported types are:

- `STRING`
- `SET_OF_STRING`
- `LIST_OF_STRING`
- `MAP_STRING_STRING`

`null` elements are considered valid.

- ## Nested Class Summary

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

- ## Optional Element Summary

  Optional Elements
  Modifier and Type
  Optional Element
  Description
  `String`
  `message`
  `String[]`
  `value`

- ## 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

  - ### message

    String message
    Default:
      "The property must not contain %s."

  - ### value

    String[] value
    Default:
      {}