Class BenchmarkReportConfig
java.lang.Object
org.optaplanner.core.config.AbstractConfig<BenchmarkReportConfig>
org.optaplanner.benchmark.config.report.BenchmarkReportConfig
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionTypically implemented by constructing a new instance and callingAbstractConfig.inherit(AbstractConfig)on it.Class<? extends Comparator<SolverBenchmarkResult>>Class<? extends SolverRankingWeightFactory>inherit(BenchmarkReportConfig inheritedConfig) Inherits each property of theinheritedConfigunless that property (or a semantic alternative) is defined by this instance (which overwrites the inherited behaviour).voidvoidsetSolverRankingComparatorClass(Class<? extends Comparator<SolverBenchmarkResult>> solverRankingComparatorClass) voidsetSolverRankingType(SolverRankingType solverRankingType) voidsetSolverRankingWeightFactoryClass(Class<? extends SolverRankingWeightFactory> solverRankingWeightFactoryClass) voidvisitReferencedClasses(Consumer<Class<?>> classVisitor) Call the class visitor on each (possibly null) Class instance provided to this config by the user (including those provided in child configs).withLocale(Locale locale) withSolverRankingComparatorClass(Class<? extends Comparator<SolverBenchmarkResult>> solverRankingComparatorClass) withSolverRankingType(SolverRankingType solverRankingType) withSolverRankingWeightFactoryClass(Class<? extends SolverRankingWeightFactory> solverRankingWeightFactoryClass) Methods inherited from class org.optaplanner.core.config.AbstractConfigtoString
- 
Constructor Details- 
BenchmarkReportConfigpublic BenchmarkReportConfig()
- 
BenchmarkReportConfig
 
- 
- 
Method Details- 
getLocale
- 
setLocale
- 
getSolverRankingType
- 
setSolverRankingType
- 
getSolverRankingComparatorClass
- 
setSolverRankingComparatorClasspublic void setSolverRankingComparatorClass(Class<? extends Comparator<SolverBenchmarkResult>> solverRankingComparatorClass) 
- 
getSolverRankingWeightFactoryClass
- 
setSolverRankingWeightFactoryClasspublic void setSolverRankingWeightFactoryClass(Class<? extends SolverRankingWeightFactory> solverRankingWeightFactoryClass) 
- 
determineLocale
- 
withLocale
- 
withSolverRankingType
- 
withSolverRankingComparatorClasspublic BenchmarkReportConfig withSolverRankingComparatorClass(Class<? extends Comparator<SolverBenchmarkResult>> solverRankingComparatorClass) 
- 
withSolverRankingWeightFactoryClasspublic BenchmarkReportConfig withSolverRankingWeightFactoryClass(Class<? extends SolverRankingWeightFactory> solverRankingWeightFactoryClass) 
- 
inheritDescription copied from class:AbstractConfigInherits each property of theinheritedConfigunless that property (or a semantic alternative) is defined by this instance (which overwrites the inherited behaviour).After the inheritance, if a property on this AbstractConfigcomposition is replaced, it should not affect the inherited composition instance.- Specified by:
- inheritin class- AbstractConfig<BenchmarkReportConfig>
- Parameters:
- inheritedConfig- never null
- Returns:
- this
 
- 
copyConfigDescription copied from class:AbstractConfigTypically implemented by constructing a new instance and callingAbstractConfig.inherit(AbstractConfig)on it.- Specified by:
- copyConfigin class- AbstractConfig<BenchmarkReportConfig>
- Returns:
- new instance
 
- 
visitReferencedClassesDescription copied from class:AbstractConfigCall the class visitor on each (possibly null) Class instance provided to this config by the user (including those provided in child configs). Required to create the bean factory in Quarkus.- Specified by:
- visitReferencedClassesin class- AbstractConfig<BenchmarkReportConfig>
- Parameters:
- classVisitor- The visitor of classes, never null. Can accept null instances of Class.
 
 
-