public static class AwsSegmentCopy.Builder
extends java.lang.Object
AwsSegmentCopy command.| Modifier and Type | Method and Description |
|---|---|
AwsSegmentCopy |
build()
Create an executable version of the
Check command. |
AwsSegmentCopy.Builder |
withDestination(java.lang.String destination)
The destination path/URI to an existing segment store.
|
AwsSegmentCopy.Builder |
withDestPersistence(org.apache.jackrabbit.oak.segment.spi.persistence.SegmentNodeStorePersistence destPersistence)
The destination
SegmentNodeStorePersistence. |
AwsSegmentCopy.Builder |
withErrWriter(java.io.PrintWriter errWriter)
The text error stream writer used to print erroneous output.
|
AwsSegmentCopy.Builder |
withOutWriter(java.io.PrintWriter outWriter)
The text output stream writer used to print normal output.
|
AwsSegmentCopy.Builder |
withRevisionsCount(java.lang.Integer revisionsCount)
The last
revisionsCount revisions to be copied. |
AwsSegmentCopy.Builder |
withSource(java.lang.String source)
The source path/URI to an existing segment store.
|
AwsSegmentCopy.Builder |
withSrcPersistencee(org.apache.jackrabbit.oak.segment.spi.persistence.SegmentNodeStorePersistence srcPersistence)
The destination
SegmentNodeStorePersistence. |
public AwsSegmentCopy.Builder withSource(java.lang.String source)
source - the source path/URI to an existing segment store.public AwsSegmentCopy.Builder withDestination(java.lang.String destination)
destination - the destination path/URI to an existing segment store.public AwsSegmentCopy.Builder withSrcPersistencee(org.apache.jackrabbit.oak.segment.spi.persistence.SegmentNodeStorePersistence srcPersistence)
SegmentNodeStorePersistence.srcPersistence - the destination SegmentNodeStorePersistence.public AwsSegmentCopy.Builder withDestPersistence(org.apache.jackrabbit.oak.segment.spi.persistence.SegmentNodeStorePersistence destPersistence)
SegmentNodeStorePersistence.destPersistence - the destination SegmentNodeStorePersistence.public AwsSegmentCopy.Builder withOutWriter(java.io.PrintWriter outWriter)
outWriter - the output writer.public AwsSegmentCopy.Builder withErrWriter(java.io.PrintWriter errWriter)
errWriter - the error writer.public AwsSegmentCopy.Builder withRevisionsCount(java.lang.Integer revisionsCount)
revisionsCount revisions to be copied.
This parameter is not required and defaults to 1.revisionsCount - number of revisions to copied.public AwsSegmentCopy build()
Check command.Runnable.Copyright © 2012–2022 The Apache Software Foundation. All rights reserved.