Annotation Type RequiresDialect


  • @Target({METHOD,TYPE})
    @Retention(RUNTIME)
    @Repeatable(RequiresDialects.class)
    public @interface RequiresDialect
    Annotation used to indicate that a test should be run only when run against the indicated dialects.
    See Also:
    RequiresDialects
    • Required Element Summary

      Required Elements 
      Modifier and Type Required Element Description
      java.lang.Class<? extends Dialect>[] value
      The dialects against which to run the test
    • Optional Element Summary

      Optional Elements 
      Modifier and Type Optional Element Description
      java.lang.String comment
      Comment describing the reason why the dialect is required.
      java.lang.String jiraKey
      The key of a JIRA issue which relates this this restriction
      boolean strictMatching
      Used to indicate if the dialects should be matched strictly (classes equal) or non-strictly (instanceof).
    • Element Detail

      • value

        java.lang.Class<? extends Dialect>[] value
        The dialects against which to run the test
        Returns:
        The dialects
      • strictMatching

        boolean strictMatching
        Used to indicate if the dialects should be matched strictly (classes equal) or non-strictly (instanceof).
        Returns:
        Should strict matching be used?
        Default:
        false
      • comment

        java.lang.String comment
        Comment describing the reason why the dialect is required.
        Returns:
        The comment
        Default:
        ""
      • jiraKey

        java.lang.String jiraKey
        The key of a JIRA issue which relates this this restriction
        Returns:
        The jira issue key
        Default:
        ""