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
-
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 JdkAttributes
getJdkExecAttributesForTests()
java.lang.Long
getPluginPid()
private static java.util.concurrent.Callable<java.lang.Long>
pidJob()
Platform
withJdkExecAttributesForTests(JdkAttributes jdk)
-
-
-
Field Detail
-
pluginPidJob
private final java.util.concurrent.RunnableFuture<java.lang.Long> pluginPidJob
-
jdk
private volatile JdkAttributes jdk
-
-
Constructor Detail
-
Platform
public Platform()
-
Platform
private Platform(java.util.concurrent.RunnableFuture<java.lang.Long> pluginPidJob, JdkAttributes jdk)
-
-
Method Detail
-
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()
-
-