Package org.openquark.cal.filter

Examples of org.openquark.cal.filter.RegExpBasedModuleFilter


       
        // Include the include-only filter if specified
        if (includeOnlyModuleFilterCheckBox.isSelected()) {
            Object includeOnlyModuleFilterFieldValue = includeOnlyModuleFilterField.getEditor().getItem();
            if (includeOnlyModuleFilterFieldValue != null) {
                moduleFilterList.add(new RegExpBasedModuleFilter(includeOnlyModuleFilterFieldValue.toString().trim(), false));
            }
        }
       
        // Include the exclude filter if specified
        if (excludeModuleFilterCheckBox.isSelected()) {
            Object excludeModuleFilterFieldValue = excludeModuleFilterField.getEditor().getItem();
            if (excludeModuleFilterFieldValue != null) {
                moduleFilterList.add(new RegExpBasedModuleFilter(excludeModuleFilterFieldValue.toString().trim(), true));
            }
        }
       
        // Include the exclude test modules filter if specified
        if (excludeTestModulesCheckBox.isSelected()) {
View Full Code Here


                    // 1 additional argument required
                   
                    curPos++;
                    if (curPos < args.length) {
                        String regexp = args[curPos];
                        moduleFilterList.add(new RegExpBasedModuleFilter(regexp, false));
                    } else {
                        throw new CommandLineException.MissingOptionArgument(curArg);
                    }
                   
                } else if (option.equalsIgnoreCase("excludeModules")) {
                    // -excludeModules <regexp>
                    // exclude the modules matched by the regular expression
                    // 1 additional argument required
                   
                    curPos++;
                    if (curPos < args.length) {
                        String regexp = args[curPos];
                        moduleFilterList.add(new RegExpBasedModuleFilter(regexp, true));
                    } else {
                        throw new CommandLineException.MissingOptionArgument(curArg);
                    }
                   
                } else if (option.equalsIgnoreCase("entities")) {
View Full Code Here

TOP

Related Classes of org.openquark.cal.filter.RegExpBasedModuleFilter

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.