Package com.google.code.mojo.license.util

Examples of com.google.code.mojo.license.util.Selection


        }
        return properties;
    }

    protected final Document[] selectedDocuments() throws MojoFailureException {
        Selection selection = new Selection(basedir, includes, buildExcludes(), useDefaultExcludes);
        debug("From: %s", basedir);
        debug("Including: %s", deepToString(selection.getIncluded()));
        debug("Excluding: %s", deepToString(selection.getExcluded()));
        Document[] documents = new DocumentFactory(basedir, buildMapping(), buildHeaderDefinitions(), encoding)
                .createDocuments(selection.getSelectedFiles());
        for (Document document : documents) {
            debug("Selected file: %s [header style: %s]", document.getFile(), document.getHeaderDefinition());
        }
        return documents;
    }
View Full Code Here


        }
        return properties;
    }

    protected final Document[] selectedDocuments() throws MojoFailureException {
        Selection selection = new Selection(basedir, includes, buildExcludes(), useDefaultExcludes);
        debug("From: %s", basedir);
        debug("Including: %s", deepToString(selection.getIncluded()));
        debug("Excluding: %s", deepToString(selection.getExcluded()));
        Document[] documents = new DocumentFactory(basedir, buildMapping(), buildHeaderDefinitions(), encoding)
                .createDocuments(selection.getSelectedFiles());
        for (Document document : documents) {
            debug("Selected file: %s [header style: %s]", document.getFile(), document.getHeaderDefinition());
        }
        return documents;
    }
View Full Code Here

TOP

Related Classes of com.google.code.mojo.license.util.Selection

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.