Class Platform
- java.lang.Object
-
- org.apache.maven.plugin.surefire.booterclient.Platform
-
public final class Platform extends java.lang.ObjectLoads platform specifics.- Since:
- 2.20.1
-
-
Field Summary
Fields Modifier and Type Field Description private JdkAttributesjdkprivate java.util.concurrent.RunnableFuture<java.lang.Long>pluginPidJobprivate booleanshutdown
-
Constructor Summary
Constructors Modifier Constructor Description Platform()privatePlatform(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 voidclearShutdownState()JdkAttributesgetJdkExecAttributesForTests()java.lang.LonggetPluginPid()booleanisShutdown()private static java.util.concurrent.Callable<java.lang.Long>pidJob()voidsetShutdownState()PlatformwithJdkExecAttributesForTests(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()
-
-