die("File not found: " + logFileName);
}
}
String actionName = opts.getOptWithDefault("a", "commitStudy");
CompleteStudyAction action = (CompleteStudyAction) ContextManager.getBean(actionName + "Action");
action.setDisabled(opts.getBoolOpt("n"));
action.setIsForTesting(opts.getBoolOpt("t"));
if (opts.hasOpt("s")) {
action.setInterestingLegacyIDs(new HashSet());
for (String legacyID : opts.getStringOpt("s").split(",\\s*"))
action.getInterestingLegacyIDs().add(legacyID);
}
AuxiliaryDataParser parser = new AuxiliaryDataParser(action);