Package org.drools.decisiontable
Class InputType
java.lang.Object
org.drools.decisiontable.InputType
Provides valid input types for decision tables.
(which also serve as parser factories).
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract DecisionTableParsercreateParser(List<DataListener> listeners) abstract DecisionTableParsercreateParser(DataListener listener) static InputTypegetInputTypeFromDecisionTableInputType(DecisionTableInputType decisionTableInputType) Converts DecisionTableInputType to InputType.
-
Field Details
-
XLS
-
CSV
-
-
Constructor Details
-
InputType
protected InputType()
-
-
Method Details
-
createParser
- Parameters:
listener-- Returns:
- The appropriate Parser.
-
createParser
-
getInputTypeFromDecisionTableInputType
public static InputType getInputTypeFromDecisionTableInputType(DecisionTableInputType decisionTableInputType) Converts DecisionTableInputType to InputType.- Parameters:
decisionTableInputType- DecisionTableInputType to convert- Returns:
- the appropriate InputType based on the specified DecisionTableInputType
-