-
public class FileResolver extends Resolver<FileGroup>
-
-
Field Summary
Fields Modifier and Type Field Description private final DirectoryPropertydownloadDirprivate final Property<Integer>parallelLevelprivate final ListProperty<String>localFilePatternsprivate final List<FileGroup>groupsprivate final List<File>filesprivate final CommonExtensioncommon
-
Constructor Summary
Constructors Constructor Description FileResolver(CommonExtension common)
-
Method Summary
Modifier and Type Method Description FileGroupcreateGroup(String name)final DirectoryPropertygetDownloadDir()final Property<Integer>getParallelLevel()Controls count of groups resolved in parallel. final ListProperty<String>getLocalFilePatterns()Files respected when searching for recent local files. final List<FileGroup>getGroups()final List<File>getFiles()final CommonExtensiongetCommon()-
Methods inherited from class com.cognifide.gradle.common.file.resolver.FileResolver
config, download, download, download, downloadHttp, downloadSftp, downloadSmb, get, getAll, getAll, group, group, group, groupFiles, invoke, invoke, invoke, invoke, resolve, resolveGroups, useLocal, useLocal, useLocalBy, useLocalBy, useLocalLastModified, useLocalLastNamed, useLocalRecent -
Methods inherited from class com.cognifide.gradle.common.file.resolver.Resolver
equals, hashCode, toString -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Constructor Detail
-
FileResolver
FileResolver(CommonExtension common)
-
-
Method Detail
-
createGroup
FileGroup createGroup(String name)
-
getDownloadDir
final DirectoryProperty getDownloadDir()
-
getParallelLevel
final Property<Integer> getParallelLevel()
Controls count of groups resolved in parallel.
-
getLocalFilePatterns
final ListProperty<String> getLocalFilePatterns()
Files respected when searching for recent local files.
-
getCommon
final CommonExtension getCommon()
-
-
-
-