ContentFilterable
, CopyProcessingSpec
, CopySourceSpec
, CopySpec
, PatternFilterable
public interface SyncSpec extends CopySpec
Modifier and Type | Method | Description |
---|---|---|
PatternFilterable |
getPreserve() |
Returns the filter that defines which files to preserve in the destination directory.
|
SyncSpec |
preserve(Action<? super PatternFilterable> action) |
Configures the filter that defines which files to preserve in the destination directory.
|
getDirMode, getFileMode, setDirMode, setFileMode
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, with
getExcludes, getIncludes
@Internal PatternFilterable getPreserve()
SyncSpec preserve(Action<? super PatternFilterable> action)
action
- Action for configuring the preserve filter