Class Restore.Builder
- java.lang.Object
-
- org.apache.jackrabbit.oak.segment.tool.Restore.Builder
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Restore
build()
Create an executable version of theRestore
command.Restore.Builder
withSource(java.io.File source)
The source path of the restore.Restore.Builder
withTarget(java.io.File target)
The target of the restore.
-
-
-
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.
-
-