Class Restore.Builder

  • Enclosing class:
    Restore

    public static class Restore.Builder
    extends java.lang.Object
    Collect options for the Restore command.
    • Method Detail

      • withSource

        public Restore.Builder withSource​(java.io.File source)
        The source path of the restore. This parameter is mandatory.
        Parameters:
        source - the source path of the restore.
        Returns:
        this builder.
      • withTarget

        public Restore.Builder withTarget​(java.io.File target)
        The target of the restore. This parameter is mandatory.
        Parameters:
        target - the target of the restore.
        Returns:
        this builder.
      • build

        public Restore build()
        Create an executable version of the Restore command.
        Returns:
        an instance of Runnable.