Top Description Methods
org.junit.jupiter.api

public Interface ClassOrdererContext

Annotations
@API
status:STABLE
since:5.10
Static Imports
org.apiguardian.api.API.Status.STABLE

ClassOrdererContext encapsulates the context in which a ClassOrderer will be invoked.
Since
5.8
See Also
ClassOrderer, ClassDescriptor

Method Summary

Modifier and TypeMethod and Description
public List<? extends ClassDescriptor>

Returns:

the list of class descriptors; never null
getClassDescriptors
()

Get the list of class descriptors to order.

public Optional<String>

Returns:

an Optional containing the value; never null but potentially empty
getConfigurationParameter
(String
the key to look up; never null or blank
key
)

Get the configuration parameter stored under the specified key.

Method Detail

getClassDescriptorsback to summary
public List<? extends ClassDescriptor> getClassDescriptors()

Get the list of class descriptors to order.

Returns:List<? extends ClassDescriptor>

the list of class descriptors; never null

getConfigurationParameterback to summary
public Optional<String> getConfigurationParameter(String key)

Get the configuration parameter stored under the specified key.

If no such key is present in the ConfigurationParameters for the JUnit Platform, an attempt will be made to look up the value as a JVM system property. If no such system property exists, an attempt will be made to look up the value in the JUnit Platform properties file.

Parameters
key:String

the key to look up; never null or blank

Returns:Optional<String>

an Optional containing the value; never null but potentially empty

See Also
System#getProperty(String), org.junit.platform.engine.ConfigurationParameters