org.drools.impl
Class DecisionTableConfigurationImpl
java.lang.Object
org.drools.impl.DecisionTableConfigurationImpl
- All Implemented Interfaces:
- DecisionTableConfiguration, ResourceConfiguration
public class DecisionTableConfigurationImpl
- extends Object
- implements DecisionTableConfiguration
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DecisionTableConfigurationImpl
public DecisionTableConfigurationImpl()
setInputType
public void setInputType(DecisionTableInputType inputType)
- Description copied from interface:
DecisionTableConfiguration
- Specify the type of decision table resource, currently either XLS or CSV.
This parameter is mandatory.
- Specified by:
setInputType in interface DecisionTableConfiguration
getInputType
public DecisionTableInputType getInputType()
- Specified by:
getInputType in interface DecisionTableConfiguration
setWorksheetName
public void setWorksheetName(String worksheetName)
- Description copied from interface:
DecisionTableConfiguration
- Which named xls worksheet should be used.
This parameter is optional, and a default worksheet
will be used if not specified.
- Specified by:
setWorksheetName in interface DecisionTableConfiguration
getWorksheetName
public String getWorksheetName()
- Specified by:
getWorksheetName in interface DecisionTableConfiguration
toProperties
public Properties toProperties()
fromProperties
public ResourceConfiguration fromProperties(Properties prop)
Copyright © 2001-2013 JBoss by Red Hat. All Rights Reserved.