Package org.jitterbit.integration.client.project.jitterpack

Examples of org.jitterbit.integration.client.project.jitterpack.ImportParameters


    private void unpackEncryptedJitterPack(JitterPack jp) {
        assert jp.getDescriptor().isEncrypted();
        char[] pwd = promptForPassword(jp);
        if (pwd != null) {
            ImportParameters params = new ImportParameters(pwd, false);
            getPackerUi().unpack(jp, params, destinationFolder, new UnpackCallbackImpl());
        } else {
            stopWait();
            externalCallback.unpackingCancelled("No password was given for encrypted Jitterpak");
        }
View Full Code Here


            }
        });
    }

    private void startImport() {
        ImportParameters params = importUi.getImportParameters();
        if (!validateParameters(params)) {
            done();
            return;
        }
        JitterPack jitterpack = importUi.getJitterPackToImport();
View Full Code Here

    public ImportParameters getParameters() {
        char[] pwd = encryptionBox.isSelected() ? pwdField.getPassword() : null;
        boolean createNewGUIDs = createNewGUIDsBox.isSelected();
        String newProjectName = createNewGUIDs ? newProjectNameField.getText().trim() : null;
        return new ImportParameters(pwd, createNewGUIDs, newProjectName);
    }
View Full Code Here

    public IntegrationProject unpack(JitterPack jp) {
        try {
          consoleWriter.log("Unpacking the Jitterpak " + jp.getFile());
            JitterPackDescriptor descriptor = jp.getDescriptor();
            ImportParameters params = ImportParameters.DEFAULT;
            Importer importer = createImporter(params);
            IntegrationProject p = importer.unpack(jp, descriptor, destination, params, new IssuesLogger(this.consoleWriter));
            projectManager.setCurrentProject(p);
            return p;
        } catch (ProjectLoadingCancelledException ex) {
View Full Code Here

TOP

Related Classes of org.jitterbit.integration.client.project.jitterpack.ImportParameters

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.