Top Description Fields Constructors Methods
org.junit.jupiter.engine.discovery

pack-priv Class DefaultClassOrdererContext

extends Object
implements ClassOrdererContext
Class Inheritance
All Implemented Interfaces
org.junit.jupiter.api.ClassOrdererContext
Imports
java.util.List, .Optional, org.junit.jupiter.api.ClassDescriptor, .ClassOrdererContext, org.junit.jupiter.engine.config.JupiterConfiguration

Default implementation of ClassOrdererContext.
Since
5.8

Field Summary

Modifier and TypeField and Description
private final List<? extends ClassDescriptor>
private final JupiterConfiguration

Constructor Summary

AccessConstructor and Description
pack-priv
DefaultClassOrdererContext(List<? extends ClassDescriptor> classDescriptors, JupiterConfiguration configuration)

Method Summary

Modifier and TypeMethod and Description
public List<? extends ClassDescriptor>
public Optional<String>
getConfigurationParameter(String key)

Implements org.junit.jupiter.api.ClassOrdererContext.getConfigurationParameter.

Get the configuration parameter stored under the specified key.

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

classDescriptorsback to summary
private final List<? extends ClassDescriptor> classDescriptors
configurationback to summary
private final JupiterConfiguration configuration

Constructor Detail

DefaultClassOrdererContextback to summary
pack-priv DefaultClassOrdererContext(List<? extends ClassDescriptor> classDescriptors, JupiterConfiguration configuration)

Method Detail

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

Implements org.junit.jupiter.api.ClassOrdererContext.getClassDescriptors.

Doc from org.junit.jupiter.api.ClassOrdererContext.getClassDescriptors.

Get the list of class descriptors to order.

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

Implements org.junit.jupiter.api.ClassOrdererContext.getConfigurationParameter.

Doc from org.junit.jupiter.api.ClassOrdererContext.getConfigurationParameter.

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.

Annotations
@Override