public static class AwsSegmentCopy.Builder extends Object
AwsSegmentCopy command.public AwsSegmentCopy.Builder withSource(String source)
source - the source path/URI to an existing segment store.public AwsSegmentCopy.Builder withDestination(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(PrintWriter outWriter)
outWriter - the output writer.public AwsSegmentCopy.Builder withErrWriter(PrintWriter errWriter)
errWriter - the error writer.public AwsSegmentCopy.Builder withRevisionsCount(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–2020 The Apache Software Foundation. All rights reserved.