Package org.codinjutsu.tools.mongo

Examples of org.codinjutsu.tools.mongo.MongoConfiguration


        boolean enabled = project != null;
        if (!enabled) {
            return;
        }

        MongoConfiguration configuration = MongoConfiguration.getInstance(project);

        e.getPresentation().setVisible(configuration != null && StringUtils.isNotBlank(configuration.getShellPath())
                && mongoExplorerPanel.getConfiguration() != null && mongoExplorerPanel.getConfiguration().isSingleServer());
        e.getPresentation().setEnabled(mongoExplorerPanel.getSelectedDatabase() != null);
    }
View Full Code Here


    @Nullable
    @Override
    protected Process createProcess() throws ExecutionException {

        MongoConfiguration mongoConfiguration = MongoConfiguration.getInstance(getProject());
        String shellPath = mongoConfiguration.getShellPath();
        final GeneralCommandLine commandLine = new GeneralCommandLine();
        commandLine.setExePath(shellPath);

        commandLine.addParameter(MongoUtils.buildMongoUrl(serverConfiguration, database));
View Full Code Here

TOP

Related Classes of org.codinjutsu.tools.mongo.MongoConfiguration

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.