public class BikeRentalModule extends Object implements GraphBuilderModule
Constructor and Description |
---|
BikeRentalModule() |
Modifier and Type | Method and Description |
---|---|
void |
buildGraph(Graph graph,
HashMap<Class<?>,Object> extra)
Process whatever inputs were supplied to this module and add the resulting elements to the given graph.
|
void |
checkInputs()
Check that all inputs to the graphbuilder are valid; throw an exception if not.
|
void |
setDataSource(BikeRentalDataSource dataSource) |
public void setDataSource(BikeRentalDataSource dataSource)
public void buildGraph(Graph graph, HashMap<Class<?>,Object> extra)
GraphBuilderModule
buildGraph
in interface GraphBuilderModule
public void checkInputs()
GraphBuilderModule
checkInputs
in interface GraphBuilderModule
Copyright © 2019. All rights reserved.