コード例 #1
0
 @Override
 public Iterator<ArrayList<VehicleOption>> getUnscheduledVehicleOptions(User user)
     throws NoClearanceException {
   if (user.canChangeAlgorithm())
     return this.getOrderManager().getMainScheduler().getUnscheduledVehicleOptions();
   else throw new NoClearanceException();
 }
コード例 #2
0
 @Override
 public String getCurrentSystemWideAlgorithm(User user) throws NoClearanceException {
   if (user.canChangeAlgorithm()) return this.getOrderManager().getMainScheduler().getAlgorithm();
   else throw new NoClearanceException();
 }