Package org.nuxeo.runtime.test.runner
Class DynamicFeaturesLoader
java.lang.Object
org.nuxeo.runtime.test.runner.DynamicFeaturesLoader
API that allows
RunnerFeature
to contribute dynamically a dependant RunnerFeature
to the test
framework. This is accomplished by creating a constructor that has DynamicFeaturesLoader
as parameter.
public class MyFeature implements RunnerFeature {
public MyFeature(DynamicFeaturesLoader loader) {
loader.loadFeature(MyOtherFeature.class);
}
}
- Since:
- 2025.0
- Implementation Note:
- This is a simple POJO that the internal loader will take into account when loading features into the test framework
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
features
-
-
Constructor Details
-
DynamicFeaturesLoader
public DynamicFeaturesLoader()
-
-
Method Details
-
loadFeature
-