Package org.junit.jupiter.api
Interface ClassOrdererContext
-
@API(status=STABLE, since="5.10") public interface ClassOrdererContextClassOrdererContextencapsulates the context in which aClassOrdererwill be invoked.- Since:
- 5.8
- See Also:
ClassOrderer,ClassDescriptor
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.util.List<? extends ClassDescriptor>getClassDescriptors()Get the list of class descriptors to order.java.util.Optional<java.lang.String>getConfigurationParameter(java.lang.String key)Get the configuration parameter stored under the specifiedkey.
-
-
-
Method Detail
-
getClassDescriptors
java.util.List<? extends ClassDescriptor> getClassDescriptors()
Get the list of class descriptors to order.- Returns:
- the list of class descriptors; never
null
-
getConfigurationParameter
java.util.Optional<java.lang.String> getConfigurationParameter(java.lang.String key)
Get the configuration parameter stored under the specifiedkey.If no such key is present in the
ConfigurationParametersfor 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; nevernullor blank- Returns:
- an
Optionalcontaining the value; nevernullbut potentially empty - See Also:
System.getProperty(String),org.junit.platform.engine.ConfigurationParameters
-
-