Top Description Constructors Methods
org.junit.platform.commons.util

public final Class RuntimeUtils

extends Object
Class Inheritance
Annotations
@API
status:INTERNAL
since:1.6
Static Imports
org.apiguardian.api.API.Status.INTERNAL

Collection of utilities for working with Runtime, java.lang.management.RuntimeMXBean, etc.

DISCLAIMER

These utilities are intended solely for usage within the JUnit framework itself. Any usage by external parties is not supported. Use at your own risk!

Since
1.6

Constructor Summary

AccessConstructor and Description
private

Method Summary

Modifier and TypeMethod and Description
pack-priv static Optional<List<String>>
getInputArguments()

Try to get the input arguments the VM was started with.

public static boolean
isDebugMode()

Try to determine whether the VM was started in debug mode or not.

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Constructor Detail

RuntimeUtilsback to summary
private RuntimeUtils()

Method Detail

getInputArgumentsback to summary
pack-priv static Optional<List<String>> getInputArguments()

Try to get the input arguments the VM was started with.

isDebugModeback to summary
public static boolean isDebugMode()

Try to determine whether the VM was started in debug mode or not.