Modifier and Type | Method and Description |
---|---|
Runnable |
build()
Create an executable version of the
Backup command. |
Backup.Builder |
withFakeBlobStore(boolean fakeBlobStore)
Simulate the existence of a file-based blob store.
|
Backup.Builder |
withSource(File source)
The source folder of the backup.
|
Backup.Builder |
withTarget(File target)
The target folder of the backup.
|
public Backup.Builder withSource(File source)
source
- the path of the source folder of the backup.public Backup.Builder withTarget(File target)
target
- the path of the target folder of the backup.public Backup.Builder withFakeBlobStore(boolean fakeBlobStore)
false
.fakeBlobStore
- true
if a file-based blob store should
be simulated, false
otherwise.Copyright © 2012-2016 The Apache Software Foundation. All Rights Reserved.