Package org.jitterbit.integration.client.datalocation.connection

Examples of org.jitterbit.integration.client.datalocation.connection.FileShareConnectionTester$TestTargetJob


    public static ConnectionTester newTester(DataLocation loc) {
        switch (loc.getDataLocationType()) {
        case Database:
            return new DatabaseConnectionTester((DatabaseLocation) loc);
        case FileShare:
            return new FileShareConnectionTester((FileShareLocation) loc);
        case TemporaryStorage:
            return new TemporaryStorageConnectionTester((TemporaryStorageLocation) loc);
        case FTP:
            return new FtpConnectionTester((FtpLocation) loc);
        case HTTP:
View Full Code Here


            tester.setProgressMonitor(progressMonitor);
            return tester;
        }

        private ConnectionTester visit(FileShareLocation loc) {
            FileShareConnectionTester tester = new FileShareConnectionTester(loc);
            class Callback extends CallbackBase implements FileShareSourceConnectionCallback {

                @Override
                public void connected(List<String> matchingFiles) {
                    AllLocationsTester.this.connectionSucceeded();
                }
            }
            tester.setSourceConnectionCallback(new Callback());
            tester.setProgressMonitor(progressMonitor);
            return tester;
        }
View Full Code Here

            tester.setProgressMonitor(progressMonitor);
            return tester;
        }

        private ConnectionTester visit(FileShareLocation loc) {
            FileShareConnectionTester tester = new FileShareConnectionTester(loc);
            class Callback extends CallbackBase implements FileShareTargetConnectionCallback {

                @Override
                public void connected() {
                    AllLocationsTester.this.connectionSucceeded();
                }
            }
            tester.setTargetConnectionCallback(new Callback());
            tester.setProgressMonitor(progressMonitor);
            return tester;
        }
View Full Code Here

TOP

Related Classes of org.jitterbit.integration.client.datalocation.connection.FileShareConnectionTester$TestTargetJob

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.