class DefaultClassOrdererContext extends java.lang.Object implements ClassOrdererContext
ClassOrdererContext.| Modifier and Type | Field and Description |
|---|---|
private java.util.List<? extends ClassDescriptor> |
classDescriptors |
private JupiterConfiguration |
configuration |
| Constructor and Description |
|---|
DefaultClassOrdererContext(java.util.List<? extends ClassDescriptor> classDescriptors,
JupiterConfiguration configuration) |
| Modifier and Type | Method and 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 specified
key. |
private final java.util.List<? extends ClassDescriptor> classDescriptors
private final JupiterConfiguration configuration
DefaultClassOrdererContext(java.util.List<? extends ClassDescriptor> classDescriptors, JupiterConfiguration configuration)
public java.util.List<? extends ClassDescriptor> getClassDescriptors()
ClassOrdererContextgetClassDescriptors in interface ClassOrdererContextnullpublic java.util.Optional<java.lang.String> getConfigurationParameter(java.lang.String key)
ClassOrdererContextkey.
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.
getConfigurationParameter in interface ClassOrdererContextkey - the key to look up; never null or blankOptional containing the value; never null
but potentially emptySystem.getProperty(String),
ConfigurationParameters