Class MonitoringConfig
- java.lang.Object
-
- ai.timefold.solver.core.config.AbstractConfig<MonitoringConfig>
-
- ai.timefold.solver.core.config.solver.monitoring.MonitoringConfig
-
public class MonitoringConfig extends AbstractConfig<MonitoringConfig>
-
-
Field Summary
Fields Modifier and Type Field Description protected List<SolverMetric>solverMetricList
-
Constructor Summary
Constructors Constructor Description MonitoringConfig()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description MonitoringConfigcopyConfig()Typically implemented by constructing a new instance and callingAbstractConfig.inherit(AbstractConfig)on it.List<SolverMetric>getSolverMetricList()MonitoringConfiginherit(MonitoringConfig inheritedConfig)Inherits each property of theinheritedConfigunless that property (or a semantic alternative) is defined by this instance (which overwrites the inherited behaviour).voidsetSolverMetricList(List<SolverMetric> solverMetricList)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).MonitoringConfigwithSolverMetricList(List<SolverMetric> solverMetricList)-
Methods inherited from class ai.timefold.solver.core.config.AbstractConfig
toString
-
-
-
-
Field Detail
-
solverMetricList
protected List<SolverMetric> solverMetricList
-
-
Method Detail
-
getSolverMetricList
public List<SolverMetric> getSolverMetricList()
-
setSolverMetricList
public void setSolverMetricList(List<SolverMetric> solverMetricList)
-
withSolverMetricList
public MonitoringConfig withSolverMetricList(List<SolverMetric> solverMetricList)
-
inherit
public MonitoringConfig inherit(MonitoringConfig 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 classAbstractConfig<MonitoringConfig>- Parameters:
inheritedConfig- never null- Returns:
- this
-
copyConfig
public MonitoringConfig copyConfig()
Description copied from class:AbstractConfigTypically implemented by constructing a new instance and callingAbstractConfig.inherit(AbstractConfig)on it.- Specified by:
copyConfigin classAbstractConfig<MonitoringConfig>- Returns:
- new instance
-
visitReferencedClasses
public 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 classAbstractConfig<MonitoringConfig>- Parameters:
classVisitor- The visitor of classes, never null. Can accept null instances of Class.
-
-