public class MrlRuleEngineConfigHolder extends AbstractRuleEngineConfigHolder
Constructor and Description |
---|
MrlRuleEngineConfigHolder() |
MrlRuleEngineConfigHolder(Map<String,String> parameters) |
Modifier and Type | Method and Description |
---|---|
IMRuleExecutionSet |
build()
Builds the config using the internal hold config.
|
String |
getConfigHash()
Retrieves a complexe hashcode of this config, allowing to detect changes.
|
protected String |
getMrlContent()
Retrieves MRL Content for Hash: from available MRL Content if provided,
or from file.
|
protected Reader |
getMrlReader()
Retrieves MRL Content for building: from available MRL Content if provided,
or from file.
|
void |
init(Map<String,String> parameters)
Initializes the config holder.
|
getFactory
public MrlRuleEngineConfigHolder()
public MrlRuleEngineConfigHolder(Map<String,String> parameters) throws MConfigurationException
MConfigurationException
public void init(Map<String,String> parameters) throws MConfigurationException
init
in interface IRuleEngineConfigHolder
init
in class AbstractRuleEngineConfigHolder
MConfigurationException
public String getConfigHash() throws MConfigurationException
IRuleEngineConfigHolder
MConfigurationException
public IMRuleExecutionSet build() throws MConfigurationException
IRuleEngineConfigHolder
MConfigurationException
protected String getMrlContent() throws MConfigurationException
MConfigurationException
protected Reader getMrlReader() throws MConfigurationException
MConfigurationException