public boolean areDependenciesSatisfied(List<JobDefinition> schedule,Set<String> done){
  if (dependentOnClasses == null) {
    return true;
  }
  for (  String name : dependentOnClasses) {
    if (!inTheSchedule(schedule,name)) {
      continue;
    }
    if (!done.contains(name)) {
      return false;
    }
  }
  return true;
}

public boolean areDependenciesSatisfied ( List < JobDefinition > schedule , Set < String > done ) { if ( dependentOnClasses == null ) { return true ; } for ( String name : dependentOnClasses ) { if ( ! inTheSchedule ( schedule , name ) ) { continue ; } if ( ! done . contains ( name ) ) { return false ; } } return true ; }
check if all jobs this one depends on are finished
