Package org.jitterbit.cli

Examples of org.jitterbit.cli.SingleArgumentCommand


    private final Command impl;

    public TargetNodePathCommand(TransformationPage page, String name, CommandExecutor executor) {
        this.page = page;
        this.name = name;
        impl = new SingleArgumentCommand(name, executor);
    }
View Full Code Here


        add(newCommand("preferences [{0}]...", new OpenPreferencesExecutor(appWin)));
        add(switchView());
    }

    private Command switchView() {
        return new SingleArgumentCommand("view", new CommandExecutor() {

            @Override
            public void execute(String[] params) {
                appWin.getViewManager().showView(params[0]);
            }
View Full Code Here

                        new ViewRequiredItemsTreeAction(view.getWindow().getActiveObjectService())));
    }

    private void addDeployCommands(InterchangeView view) {
        for (String name : Arrays.asList("deploy_everything", "deploy_project", "deploy_all")) {
            add(new SingleArgumentCommand(name, true, new DeployEverythingExecutor(view)));
        }
        add(new SingleArgumentCommand("deploy_changes", true, new DeployDirtyItemsExecutor(view)));
    }
View Full Code Here

TOP

Related Classes of org.jitterbit.cli.SingleArgumentCommand

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.