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

# Annotation Interface Contain

@Retention(RUNTIME) @Target(FIELD) public @interface Contain
The annotated element must 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`
  `Contain.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 contain %s."

  - ### value

    String[] value
    Default:
      {}