Package org.openbel.framework.common

Examples of org.openbel.framework.common.SimpleOutput.output()


        if (options.length == 0) {
            printUsage();
            bail(GENERAL_FAILURE);
        }

        reportable.output("Using cache directory: "
                + config.getCacheDirectory().getAbsolutePath());

        for (int i = 0; i < options.length; i++) {
            if (i != 0) {
                reportable.output("");
View Full Code Here


        reportable.output("Using cache directory: "
                + config.getCacheDirectory().getAbsolutePath());

        for (int i = 0; i < options.length; i++) {
            if (i != 0) {
                reportable.output("");
            }

            handleOption(options[i]);
        }
    }
View Full Code Here

        try {
            final String abspath = file.getAbsolutePath();

            if (verbose) {
                reportable.output("Validating BEL Document: " + abspath);
            }

            int numWarnings = 0;
            int numErrors = 0;
View Full Code Here

            if (summary) {
                printSummary(fileArg, numWarnings, numErrors);
            }
            if (numErrors == 0) {
                reportable.output(ALL_DOCUMENTS_PASSED_VALIDATION);
                bail(ExitCode.SUCCESS);
            } else {
                bail(ExitCode.VALIDATION_FAILURE);
            }
        } catch (Exception e) {
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. 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.