We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9598286 commit bb07555Copy full SHA for bb07555
src/main/java/minevalley/core/api/utils/CarBarrier.java
@@ -3,9 +3,24 @@
3
@SuppressWarnings("unused")
4
public interface CarBarrier {
5
6
- void open();
+ /**
7
+ * Opens the barrier.
8
+ *
9
+ * @throws IllegalStateException if the barrier is already open or removed.
10
+ */
11
+ void open() throws IllegalStateException;
12
- void close();
13
14
+ * Closes the barrier.
15
16
+ * @throws IllegalStateException if the barrier is already closed or removed.
17
18
+ void close() throws IllegalStateException;
19
- void remove();
20
21
+ * Removes the barrier.
22
23
+ * @throws IllegalStateException if the barrier is already removed.
24
25
+ void remove() throws IllegalStateException;
26
}
0 commit comments