mirror of
https://github.com/graphhopper/jsprit.git
synced 2020-01-24 07:45:05 +01:00
service/shipmentActivityFactories - reduced scope to JobActivityFactory
This commit is contained in:
parent
9144a05886
commit
0ea1a87dfe
1 changed files with 6 additions and 6 deletions
|
|
@ -115,15 +115,15 @@ public class VehicleRoute {
|
|||
|
||||
private End end;
|
||||
|
||||
private TourActivities tourActivities = new TourActivities();
|
||||
private final TourActivities tourActivities = new TourActivities();
|
||||
|
||||
private TourActivityFactory serviceActivityFactory = new DefaultTourActivityFactory();
|
||||
|
||||
private TourShipmentActivityFactory shipmentActivityFactory = new DefaultShipmentActivityFactory();
|
||||
|
||||
private Set<Shipment> openShipments = new HashSet<Shipment>();
|
||||
private final Set<Shipment> openShipments = new HashSet<Shipment>();
|
||||
|
||||
private JobActivityFactory jobActivityFactory = new JobActivityFactory() {
|
||||
|
||||
private final TourShipmentActivityFactory shipmentActivityFactory = new DefaultShipmentActivityFactory();
|
||||
|
||||
private final TourActivityFactory serviceActivityFactory = new DefaultTourActivityFactory();
|
||||
|
||||
@Override
|
||||
public List<AbstractActivity> createActivities(Job job) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue