Class ForkStarter.CloseableCloser
java.lang.Object
org.apache.maven.plugin.surefire.booterclient.ForkStarter.CloseableCloser
- All Implemented Interfaces:
Closeable
,AutoCloseable
,Runnable
- Enclosing class:
- ForkStarter
Closes stuff, with a shutdown hook to make sure things really get closed.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription(package private) void
addCloseable
(Closeable closeable) void
close()
void
run()
-
Field Details
-
jvmRun
private final int jvmRun -
testProvidingInputStream
-
inputStreamCloserHook
-
-
Constructor Details
-
CloseableCloser
CloseableCloser(int jvmRun, Closeable... testProvidingInputStream)
-
-
Method Details