tester.setProgressMonitor(progressMonitor);
return tester;
}
private ConnectionTester visit(FtpLocation loc) {
FtpConnectionTester tester = new FtpConnectionTester(loc);
class Callback extends CallbackBase implements FtpSourceConnectionCallback {
@Override
public void connected(List<String> matchingFiles) {
AllLocationsTester.this.connectionSucceeded();
}
}
tester.setSourceConnectionCallback(new Callback());
tester.setProgressMonitor(progressMonitor);
return tester;
}