public final class LazyIncrementalFileMergerInputs
extends java.lang.Object
LazyIncrementalFileMergerInput.| Modifier and Type | Method and Description |
|---|---|
static LazyIncrementalFileMergerInput |
fromNew(java.lang.String name,
java.util.Set<java.io.File> base)
Creates an input from a set of directories or zips without any incremental information.
|
static LazyIncrementalFileMergerInput |
fromUpdates(java.lang.String name,
java.util.Set<java.io.File> base,
java.util.Map<java.io.File,com.android.ide.common.resources.FileStatus> updates,
FileCacheByPath cache,
IncrementalRelativeFileSets.FileDeletionPolicy fileDeletionPolicy)
Creates an input from a set of directories or zips with incremental information.
|
@NonNull public static LazyIncrementalFileMergerInput fromNew(@NonNull java.lang.String name, @NonNull java.util.Set<java.io.File> base)
name - the input set namebase - the directories and zips; no files with the same OS-independent paths may
exist when constructing the trees from these elements; because the construction is lazy,
duplicate files may be detected later and failures show up laterpublic static LazyIncrementalFileMergerInput fromUpdates(@NonNull java.lang.String name, @NonNull java.util.Set<java.io.File> base, @NonNull java.util.Map<java.io.File,com.android.ide.common.resources.FileStatus> updates, @NonNull FileCacheByPath cache, @NonNull IncrementalRelativeFileSets.FileDeletionPolicy fileDeletionPolicy)
IncrementalRelativeFileSets.makeFromBaseFiles(Collection, Map,
FileCacheByPath, Set, IncrementalRelativeFileSets.FileDeletionPolicy) for more information
on the use of the cache.name - the input set namebase - the directories and zips; no files with the same OS-independent paths may exist
when constructing the trees from these elements; because the construction is lazy,
duplicate files may be detected later and failures show up laterupdates - the updates detectedcache - a cache for the zipsfileDeletionPolicy - the policy for file deletions