public class ScorecardCompiler extends Object
Modifier and Type | Class and Description |
---|---|
static class |
ScorecardCompiler.DrlType |
Modifier and Type | Field and Description |
---|---|
static String |
DEFAULT_SHEET_NAME |
Constructor and Description |
---|
ScorecardCompiler() |
ScorecardCompiler(ScorecardCompiler.DrlType drlType) |
Modifier and Type | Method and Description |
---|---|
boolean |
compileFromExcel(InputStream stream) |
boolean |
compileFromExcel(InputStream stream,
String worksheetName) |
boolean |
compileFromExcel(String pathToFile) |
boolean |
compileFromExcel(String pathToFile,
String worksheetName) |
boolean |
compileFromPMML(InputStream stream) |
static String |
convertToDRL(PMML pmml,
ScorecardCompiler.DrlType drlType) |
String |
getDRL() |
ScorecardCompiler.DrlType |
getDrlType() |
String |
getPMML() |
PMML |
getPMMLDocument() |
List<ScorecardError> |
getScorecardParseErrors() |
void |
setDrlType(ScorecardCompiler.DrlType drlType) |
protected void |
setPMMLDocument(PMML pmmlDocument) |
public static final String DEFAULT_SHEET_NAME
public ScorecardCompiler(ScorecardCompiler.DrlType drlType)
public ScorecardCompiler()
public ScorecardCompiler.DrlType getDrlType()
public void setDrlType(ScorecardCompiler.DrlType drlType)
protected void setPMMLDocument(PMML pmmlDocument)
public boolean compileFromExcel(String pathToFile)
public boolean compileFromExcel(InputStream stream)
public boolean compileFromExcel(InputStream stream, String worksheetName)
public boolean compileFromPMML(InputStream stream)
public PMML getPMMLDocument()
public String getPMML()
public String getDRL()
public static String convertToDRL(PMML pmml, ScorecardCompiler.DrlType drlType)
public List<ScorecardError> getScorecardParseErrors()
Copyright © 2001-2015 JBoss by Red Hat. All Rights Reserved.