Package org.gradle.api.internal.file.copy

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


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


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

        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

Related Classes of org.gradle.api.internal.file.copy.FileCopyActionImpl

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.