consecutiveFailures = 0;
//I'm sure this isn't very efficient, but shouldn't matter
for (String s : processList) {
if (!mModel.hasProcessCalled(s)) {
mModel.addProcess(new Process(mModel, s));
}
}
for (Process p : mModel.getProcesses()) {
if (!processList.contains(p.getName())) {