Examples of FileCopySpecVisitor


Examples of org.gradle.api.internal.file.copy.FileCopySpecVisitor

public class Copy extends AbstractCopyTask {
    private FileCopyActionImpl copyAction;

    public Copy() {
        FileResolver fileResolver = getServices().get(FileResolver.class);
        copyAction = new FileCopyActionImpl(fileResolver, new FileCopySpecVisitor());
    }
View Full Code Here

Examples of org.gradle.api.internal.file.copy.FileCopySpecVisitor

public class Sync extends AbstractCopyTask {
    private FileCopyActionImpl action;

    public Sync() {
        FileResolver fileResolver = getServices().get(FileResolver.class);
        action = new FileCopyActionImpl(fileResolver, new SyncCopySpecVisitor(new FileCopySpecVisitor()));
    }
View Full Code Here

Examples of org.gradle.api.internal.file.copy.FileCopySpecVisitor

        walker.match(patternSet).start(getDir());
        return this;
    }

    public WorkResult copy(Closure closure) {
        CopyActionImpl action = new FileCopyActionImpl(resolver, new FileCopySpecVisitor());
        action.from(this);
        ConfigureUtil.configure(closure, action);
        action.execute();
        return action;
    }
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.