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

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


        assertTrue(isDirectory() || mkdirs());
        return this;
    }

    public TestFile deleteDir() {
        DeleteAction delete = new DeleteActionImpl(new IdentityFileResolver());
        delete.delete(this);
        return this;
    }
View Full Code Here


    public DefaultFileOperations(FileResolver fileResolver, TaskResolver taskResolver, TemporaryFileProvider temporaryFileProvider, Instantiator instantiator, FileLookup fileLookup) {
        this.fileResolver = fileResolver;
        this.taskResolver = taskResolver;
        this.temporaryFileProvider = temporaryFileProvider;
        this.instantiator = instantiator;
        this.deleteAction = new DeleteActionImpl(fileResolver);
        this.resourceHandler = new DefaultResourceHandler(this, temporaryFileProvider);
        fileCopier = new FileCopier(this.instantiator, this.fileResolver, fileLookup);
        fileSystem = fileLookup.getFileSystem();
    }
View Full Code Here

TOP

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

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.