use of org.opendatakit.briefcase.operations.ServerConnectionTestException in project briefcase by opendatakit.
the class ServerConnectionTest method testPush.
public static void testPush(ServerConnectionInfo transferSettings) {
ServerConnectionTest test = new ServerConnectionTest(transferSettings, new TerminationFuture(), true);
test.run();
if (!test.isSuccessful())
throw new ServerConnectionTestException();
}
use of org.opendatakit.briefcase.operations.ServerConnectionTestException in project briefcase by opendatakit.
the class ServerConnectionTest method testPull.
public static void testPull(ServerConnectionInfo transferSettings) {
ServerConnectionTest test = new ServerConnectionTest(transferSettings, new TerminationFuture(), false);
test.run();
if (!test.isSuccessful())
throw new ServerConnectionTestException();
}
Aggregations