public class RecommenderGraphBuilder extends Object
Constructor and Description |
---|
RecommenderGraphBuilder() |
Modifier and Type | Method and Description |
---|---|
RecommenderGraphBuilder |
addBindings(BindingFunctionBuilder bld)
Add bindings to the graph builder.
|
RecommenderGraphBuilder |
addConfiguration(LenskitConfiguration config)
Add a recommender configuration.
|
RecommenderGraphBuilder |
addRoots(Iterable<Class<?>> classes)
Add roots to the graph builder.
|
DependencySolver |
buildDependencySolver()
Build a dependency solver from the provided bindings.
|
DependencySolver |
buildDependencySolverImpl(org.grouplens.lenskit.inject.RecommenderGraphBuilder.SolveDirection direction) |
DependencySolver |
buildDependencyUnsolver()
Build a dependency 'unsolver' from the provided bindings.
|
DAGNode<Component,Dependency> |
buildGraph() |
void |
setClassLoader(ClassLoader loader) |
public void setClassLoader(ClassLoader loader)
public RecommenderGraphBuilder addBindings(BindingFunctionBuilder bld)
DependencySolverBuilder
- add the most important bindings
last.bld
- A builder of the bindings to add.public RecommenderGraphBuilder addRoots(Iterable<Class<?>> classes)
classes
- Root types for the graph.public RecommenderGraphBuilder addConfiguration(LenskitConfiguration config)
config
- The configuration.public DependencySolver buildDependencySolver()
public DependencySolver buildDependencyUnsolver()
public DependencySolver buildDependencySolverImpl(org.grouplens.lenskit.inject.RecommenderGraphBuilder.SolveDirection direction)
public DAGNode<Component,Dependency> buildGraph() throws ResolutionException
ResolutionException