Interface Experimented
- All Known Implementing Classes:
ExperimentRegistry,ExperimentSet,ParserInstance
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
Something that can have experimental features enabled for.
The only intended implementation of this is the
Script,
however it is left open for configuration files, etc. that may use this functionality in the future.-
Method Summary
Modifier and TypeMethodDescriptiondefault booleanhasExperiment(String featureName) booleanhasExperiment(Experiment experiment)
-
Method Details
-
hasExperiment
- Parameters:
experiment- The experimental feature to test.- Returns:
- Whether this uses the given feature.
-
hasExperiment
- Parameters:
featureName- The name of the experimental feature to test.- Returns:
- Whether this has a feature with the given name.
-