Class Platform
- java.lang.Object
-
- org.apache.maven.plugin.surefire.booterclient.Platform
-
public final class Platform extends java.lang.Object
Loads platform specifics.- Since:
- 2.20.1
-
-
Field Summary
Fields Modifier and Type Field Description private JdkAttributes
jdk
private java.util.concurrent.RunnableFuture<java.lang.Long>
pluginPidJob
private boolean
shutdown
-
Constructor Summary
Constructors Modifier Constructor Description Platform()
private
Platform(java.util.concurrent.RunnableFuture<java.lang.Long> pluginPidJob, JdkAttributes jdk)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description void
clearShutdownState()
JdkAttributes
getJdkExecAttributesForTests()
java.lang.Long
getPluginPid()
boolean
isShutdown()
private static java.util.concurrent.Callable<java.lang.Long>
pidJob()
void
setShutdownState()
Platform
withJdkExecAttributesForTests(JdkAttributes jdk)
-
-
-
Field Detail
-
pluginPidJob
private final java.util.concurrent.RunnableFuture<java.lang.Long> pluginPidJob
-
jdk
private final JdkAttributes jdk
-
shutdown
private volatile boolean shutdown
-
-
Constructor Detail
-
Platform
public Platform()
-
Platform
private Platform(java.util.concurrent.RunnableFuture<java.lang.Long> pluginPidJob, JdkAttributes jdk)
-
-
Method Detail
-
isShutdown
public boolean isShutdown()
-
setShutdownState
public void setShutdownState()
-
clearShutdownState
public void clearShutdownState()
-
getPluginPid
public java.lang.Long getPluginPid()
-
getJdkExecAttributesForTests
public JdkAttributes getJdkExecAttributesForTests()
-
withJdkExecAttributesForTests
public Platform withJdkExecAttributesForTests(JdkAttributes jdk)
-
pidJob
private static java.util.concurrent.Callable<java.lang.Long> pidJob()
-
-