Package org.gradle.api.file
Schnittstelle SyncSpec
- Alle Superschnittstellen:
ContentFilterable,CopyProcessingSpec,CopySourceSpec,CopySpec,PatternFilterable
Synchronizes the contents of a destination directory with some source directories and files.
- Seit:
- 7.5
-
Methodenübersicht
Modifizierer und TypMethodeBeschreibungReturns the filter that defines which files to preserve in the destination directory.preserve(Action<? super PatternFilterable> action) Configures the filter that defines which files to preserve in the destination directory.Von Schnittstelle geerbte Methoden org.gradle.api.file.CopyProcessingSpec
dirPermissions, filePermissions, getDirMode, getDirPermissions, getFileMode, getFilePermissions, setDirMode, setFileModeVon Schnittstelle geerbte Methoden org.gradle.api.file.CopySpec
eachFile, eachFile, exclude, exclude, exclude, exclude, expand, expand, filesMatching, filesMatching, filesNotMatching, filesNotMatching, filter, filter, filter, filter, from, from, from, getDuplicatesStrategy, getFilteringCharset, getIncludeEmptyDirs, include, include, include, include, into, into, into, isCaseSensitive, rename, rename, rename, rename, setCaseSensitive, setDuplicatesStrategy, setExcludes, setFilteringCharset, setIncludeEmptyDirs, setIncludes, withVon Schnittstelle geerbte Methoden org.gradle.api.tasks.util.PatternFilterable
getExcludes, getIncludes
-
Methodendetails
-
getPreserve
Returns the filter that defines which files to preserve in the destination directory.- Gibt zurück:
- the filter defining the files to preserve
-
preserve
Configures the filter that defines which files to preserve in the destination directory.- Parameter:
action- Action for configuring the preserve filter- Gibt zurück:
- this
-