Debian Codegraph @

junit-jupiter-api/src/main/java/org/junit/jupiter/api/parallel/ResourceAccessMode.java

raw symbols SCIP
1 /*
2 * Copyright 2015-2024 the original author or authors.
3 *
4 * All rights reserved. This program and the accompanying materials are
5 * made available under the terms of the Eclipse Public License v2.0 which
6 * accompanies this distribution and is available at
7 *
8 * https://www.eclipse.org/legal/epl-v20.html
9 */
10
11 package org.junit.jupiter.api.parallel;
12
13 import static org.apiguardian.api.API.Status.STABLE;
14
15 import org.apiguardian.api.API;
16
17 /**
18 * The access mode required by a test class or method for a given resource.
19 *
20 * @since 5.3
21 * @see ResourceLock
22 */
23 @API(status = STABLE, since = "5.10")
24 public enum ResourceAccessMode {
25
26 /**
27 * Require read and write access to the resource.
28 */
29 READ_WRITE,
30
31 /**
32 * Require only read access to the resource.
33 */
34 READ
35
36 }