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,16 +115,16 @@ public class VehicleRoute {
|
||||||
|
|
||||||
private End end;
|
private End end;
|
||||||
|
|
||||||
private TourActivities tourActivities = new TourActivities();
|
private final TourActivities tourActivities = new TourActivities();
|
||||||
|
|
||||||
private TourActivityFactory serviceActivityFactory = new DefaultTourActivityFactory();
|
private final Set<Shipment> openShipments = new HashSet<Shipment>();
|
||||||
|
|
||||||
private TourShipmentActivityFactory shipmentActivityFactory = new DefaultShipmentActivityFactory();
|
|
||||||
|
|
||||||
private Set<Shipment> openShipments = new HashSet<Shipment>();
|
|
||||||
|
|
||||||
private JobActivityFactory jobActivityFactory = new JobActivityFactory() {
|
private JobActivityFactory jobActivityFactory = new JobActivityFactory() {
|
||||||
|
|
||||||
|
private final TourShipmentActivityFactory shipmentActivityFactory = new DefaultShipmentActivityFactory();
|
||||||
|
|
||||||
|
private final TourActivityFactory serviceActivityFactory = new DefaultTourActivityFactory();
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public List<AbstractActivity> createActivities(Job job) {
|
public List<AbstractActivity> createActivities(Job job) {
|
||||||
List<AbstractActivity> acts = new ArrayList<AbstractActivity>();
|
List<AbstractActivity> acts = new ArrayList<AbstractActivity>();
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue