Schnittstelle SyncSpec

Alle Superschnittstellen:
ContentFilterable, CopyProcessingSpec, CopySourceSpec, CopySpec, PatternFilterable

public interface SyncSpec extends CopySpec
Synchronizes the contents of a destination directory with some source directories and files.
Seit:
7.5
  • 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

      SyncSpec preserve(Action<? super PatternFilterable> action)
      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