Package betsy.bpel.repositories

Examples of betsy.bpel.repositories.EngineRepository


    public void printUsage() {
        String firstLine = "betsy bpel [OPTIONS] <ENGINES> <PROCESSES>";
        String header = "\nOptions:\n";
        String footer = "\nGROUPS for <ENGINES> and <PROCESSES> are in CAPITAL LETTERS.\n" +
                "<ENGINES>: " + new EngineRepository().getNames() + "\n\n\n" +
                "<PROCESSES>: " + new BPELProcessRepository().getNames() + "\n\n\n" +
                "Please report issues at https://github.com/uniba-dsg/betsy/issues";
        new HelpFormatter().printHelp(firstLine,
                header,
                getOptions(),
View Full Code Here


    public EngineParser(String[] args) {
        this.args = args;
    }

    public List<AbstractEngine> parse() {
        EngineRepository engineRepository = new EngineRepository();

        if (args.length == 0) {
            // local engines are default
            return engineRepository.getByName("all");
        } else {
            String[] names = args[0].trim().toLowerCase().split(",");
            return engineRepository.getByNames(names);
        }

    }
View Full Code Here

    }

    private JPanel createCenterPanel() {
        JPanel panel = new JPanel();

        final List<EngineLifecycle> bpelEngines = new EngineRepository().getByName("ALL").stream().collect(Collectors.toList());
        final List<EngineLifecycle> bpmnEngines = new BPMNEngineRepository().getByName("ALL").stream().collect(Collectors.toList());
        final List<EngineLifecycle> engines = new LinkedList<>();
        engines.addAll(bpelEngines);
        engines.addAll(bpmnEngines);
View Full Code Here

TOP

Related Classes of betsy.bpel.repositories.EngineRepository

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.