Annotation Type ResourceLocks


  • @API(status=EXPERIMENTAL,
         since="5.3")
    @Retention(RUNTIME)
    @Target({TYPE,METHOD})
    @Inherited
    public @interface ResourceLocks
    @ResourceLocks is a container for one or more @ResourceLock declarations.

    Note, however, that use of the @ResourceLocks container is completely optional since @ResourceLock is a repeatable annotation.

    Since JUnit Jupiter 5.4, this annotation is inherited within class hierarchies.

    Since:
    5.3
    See Also:
    ResourceLock
    • Required Element Summary

      Required Elements 
      Modifier and Type Required Element Description
      ResourceLock[] value
      An array of one or more @ResourceLock declarations.