Package org.optaplanner.core.impl.util
Class RhinoJavaScriptPoolSizer
- java.lang.Object
-
- org.optaplanner.core.impl.util.RhinoJavaScriptPoolSizer
-
- All Implemented Interfaces:
IntSupplier
public final class RhinoJavaScriptPoolSizer extends Object implements IntSupplier
This class exists separately, as Rhino is an optional dependency and the imports would have immediately triggeredClassNotFoundException
s if present onConfigUtils
directly.
-
-
Constructor Summary
Constructors Constructor Description RhinoJavaScriptPoolSizer(String propertyName, String script)
-
-
-
Method Detail
-
getAsInt
public int getAsInt()
- Specified by:
getAsInt
in interfaceIntSupplier
-
-