LinkedHashSet<Message> errors = new LinkedHashSet<Message>();
ProgressDialog progressDialog = new ProgressDialog(
Utilities.createFrame(),
Utilities.getParentDialog(this),
INFO_CTRL_PANEL_RESTART_SERVER_PROGRESS_DLG_TITLE.get(), getInfo());
RestartServerTask newTask = new RestartServerTask(getInfo(),
progressDialog);
for (Task task : getInfo().getTasks())
{
task.canLaunch(newTask, errors);
}