Esempio n. 1
0
 public Integer getStartedRoutes() {
   int started = 0;
   for (Route route : context.getRoutes()) {
     if (context.getRouteStatus(route.getId()).isStarted()) {
       started++;
     }
   }
   return started;
 }
Esempio n. 2
0
 public Integer getTotalRoutes() {
   return context.getRoutes().size();
 }