Class InvestmentImporter.InvestmentAllocationInputBuilder
- java.lang.Object
-
- org.optaplanner.examples.common.app.LoggingMain
-
- org.optaplanner.examples.common.persistence.AbstractSolutionImporter.InputBuilder
-
- org.optaplanner.examples.common.persistence.AbstractXlsxSolutionImporter.XlsxInputBuilder<InvestmentSolution>
-
- org.optaplanner.examples.investment.persistence.InvestmentImporter.InvestmentAllocationInputBuilder
-
- Enclosing class:
- InvestmentImporter
public static class InvestmentImporter.InvestmentAllocationInputBuilder extends AbstractXlsxSolutionImporter.XlsxInputBuilder<InvestmentSolution>
-
-
Field Summary
-
Fields inherited from class org.optaplanner.examples.common.persistence.AbstractXlsxSolutionImporter.XlsxInputBuilder
inputFile, workbook
-
Fields inherited from class org.optaplanner.examples.common.app.LoggingMain
logger
-
-
Constructor Summary
Constructors Constructor Description InvestmentAllocationInputBuilder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected longparsePercentageMillis(double numericValue)protected longparsePercentageMillis(String token)InvestmentSolutionreadSolution()-
Methods inherited from class org.optaplanner.examples.common.persistence.AbstractXlsxSolutionImporter.XlsxInputBuilder
assertCellConstant, getInputId, readDoubleCell, readDoubleParameter, readLongCell, readSheet, readStringCell, readStringParameter, setInputFile, setWorkbook
-
-
-
-
Method Detail
-
readSolution
public InvestmentSolution readSolution() throws IOException
- Specified by:
readSolutionin classAbstractXlsxSolutionImporter.XlsxInputBuilder<InvestmentSolution>- Throws:
IOException
-
parsePercentageMillis
protected long parsePercentageMillis(double numericValue)
-
parsePercentageMillis
protected long parsePercentageMillis(String token)
-
-