if(event.getType().equals(Event.RESTART)){
clock.schedule(new RestartTask(clock,server,event,this),date);
ultimaTarea=true;
}
if(event.getType().equals(Event.TEST)){
clock.schedule(new TestTask(clock,server,event,this),date);
ultimaTarea=true;
}
events.add(event);
eventServer.put(event,server);
return true;