public abstract class LenskitConfigScript
extends groovy.lang.Script
LenskitConfigDSL, so
all methods on that class are directly available in configuraiton scripts.| Modifier and Type | Field and Description |
|---|---|
protected org.slf4j.Logger |
logger |
| Modifier | Constructor and Description |
|---|---|
protected |
LenskitConfigScript() |
protected |
LenskitConfigScript(groovy.lang.Binding binding) |
| Modifier and Type | Method and Description |
|---|---|
LenskitConfiguration |
configure()
Run this script and produce a new configuration.
|
void |
configure(LenskitConfiguration config)
Run this script against an existing configuration.
|
LenskitConfiguration |
getConfig() |
Object |
methodMissing(String name,
Object args)
Groovy override to pass things off to the delegate.
|
protected LenskitConfigScript()
protected LenskitConfigScript(groovy.lang.Binding binding)
public LenskitConfiguration getConfig()
public Object methodMissing(String name, Object args)
name - The name of the method.args - The method arguments.public void configure(LenskitConfiguration config) throws RecommenderConfigurationException
RecommenderConfigurationException - if an error occurs.public LenskitConfiguration configure() throws RecommenderConfigurationException
RecommenderConfigurationException - if an error occurs.