@API(status=EXPERIMENTAL,
since="5.3")
@Retention(value=RUNTIME)
@Target(value={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.
ResourceLock
Modifier and Type | Required Element and Description |
---|---|
ResourceLock[] |
value
An array of one or more @ResourceLock declarations.
|
public abstract ResourceLock[] value