Annotation Interface ResourceLocks

@API(status=STABLE, since="5.10") @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.

See Also:
  • Required Element Summary

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