Package org.optaplanner.benchmark.config
Class ProblemBenchmarksConfig
- java.lang.Object
- 
- org.optaplanner.core.config.AbstractConfig<ProblemBenchmarksConfig>
- 
- org.optaplanner.benchmark.config.ProblemBenchmarksConfig
 
 
- 
 public class ProblemBenchmarksConfig extends AbstractConfig<ProblemBenchmarksConfig> 
- 
- 
Constructor SummaryConstructors Constructor Description ProblemBenchmarksConfig()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description ProblemBenchmarksConfigcopyConfig()Typically implemented by constructing a new instance and callingAbstractConfig.inherit(AbstractConfig)on itList<File>getInputSolutionFileList()BooleangetProblemStatisticEnabled()List<ProblemStatisticType>getProblemStatisticTypeList()List<SingleStatisticType>getSingleStatisticTypeList()Class<SolutionFileIO<?>>getSolutionFileIOClass()BooleangetWriteOutputSolutionEnabled()ProblemBenchmarksConfiginherit(ProblemBenchmarksConfig inheritedConfig)Inherits each property of theinheritedConfigunless that property (or a semantic alternative) is defined by this instance (which overwrites the inherited behaviour).voidsetInputSolutionFileList(List<File> inputSolutionFileList)voidsetProblemStatisticEnabled(Boolean problemStatisticEnabled)voidsetProblemStatisticTypeList(List<ProblemStatisticType> problemStatisticTypeList)voidsetSingleStatisticTypeList(List<SingleStatisticType> singleStatisticTypeList)voidsetSolutionFileIOClass(Class<SolutionFileIO<?>> solutionFileIOClass)voidsetWriteOutputSolutionEnabled(Boolean writeOutputSolutionEnabled)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).- 
Methods inherited from class org.optaplanner.core.config.AbstractConfigtoString
 
- 
 
- 
- 
- 
Method Detail- 
getSolutionFileIOClasspublic Class<SolutionFileIO<?>> getSolutionFileIOClass() 
 - 
setSolutionFileIOClasspublic void setSolutionFileIOClass(Class<SolutionFileIO<?>> solutionFileIOClass) 
 - 
getWriteOutputSolutionEnabledpublic Boolean getWriteOutputSolutionEnabled() 
 - 
setWriteOutputSolutionEnabledpublic void setWriteOutputSolutionEnabled(Boolean writeOutputSolutionEnabled) 
 - 
getProblemStatisticEnabledpublic Boolean getProblemStatisticEnabled() 
 - 
setProblemStatisticEnabledpublic void setProblemStatisticEnabled(Boolean problemStatisticEnabled) 
 - 
getProblemStatisticTypeListpublic List<ProblemStatisticType> getProblemStatisticTypeList() 
 - 
setProblemStatisticTypeListpublic void setProblemStatisticTypeList(List<ProblemStatisticType> problemStatisticTypeList) 
 - 
getSingleStatisticTypeListpublic List<SingleStatisticType> getSingleStatisticTypeList() 
 - 
setSingleStatisticTypeListpublic void setSingleStatisticTypeList(List<SingleStatisticType> singleStatisticTypeList) 
 - 
inheritpublic ProblemBenchmarksConfig inherit(ProblemBenchmarksConfig inheritedConfig) Description 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<ProblemBenchmarksConfig>
- Parameters:
- inheritedConfig- never null
- Returns:
- this
 
 - 
copyConfigpublic ProblemBenchmarksConfig copyConfig() Description copied from class:AbstractConfigTypically implemented by constructing a new instance and callingAbstractConfig.inherit(AbstractConfig)on it- Specified by:
- copyConfigin class- AbstractConfig<ProblemBenchmarksConfig>
- Returns:
- new instance
 
 - 
visitReferencedClassespublic void visitReferencedClasses(Consumer<Class<?>> classVisitor) Description 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<ProblemBenchmarksConfig>
- Parameters:
- classVisitor- The visitor of classes, never null. Can accept null instances of Class
 
 
- 
 
-