ClassOrdererContext
encapsulates the context in which
a ClassOrderer
will be invoked.- Since:
- 5.8
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionList
<? extends ClassDescriptor> Get the list of class descriptors to order.Get the configuration parameter stored under the specifiedkey
.
-
Method Details
-
getClassDescriptors
List<? extends ClassDescriptor> getClassDescriptors()Get the list of class descriptors to order.- Returns:
- the list of class descriptors; never
null
-
getConfigurationParameter
Get the configuration parameter stored under the specifiedkey
.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
- the key to look up; nevernull
or blank- Returns:
- an
Optional
containing the value; nevernull
but potentially empty - See Also:
-