Class DemoService
- java.lang.Object
-
- org.optaweb.vehiclerouting.service.demo.DemoService
-
@Service public class DemoService extends Object
Performs demo-related use cases.
-
-
Field Summary
Fields Modifier and Type Field Description (package private) static intMAX_TRIES
-
Constructor Summary
Constructors Constructor Description DemoService(RoutingProblemList routingProblems, LocationService locationService, LocationRepository locationRepository, VehicleService vehicleService, VehicleRepository vehicleRepository, DataSetMarshaller dataSetMarshaller)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Collection<RoutingProblem>demos()StringexportDataSet()voidloadDemo(String name)
-
-
-
Field Detail
-
MAX_TRIES
static final int MAX_TRIES
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
DemoService
@Autowired public DemoService(RoutingProblemList routingProblems, LocationService locationService, LocationRepository locationRepository, VehicleService vehicleService, VehicleRepository vehicleRepository, DataSetMarshaller dataSetMarshaller)
-
-
Method Detail
-
demos
public Collection<RoutingProblem> demos()
-
loadDemo
@Async public void loadDemo(String name)
-
exportDataSet
public String exportDataSet()
-
-