Class SegmentStoreMigrator.Builder
- java.lang.Object
-
- org.apache.jackrabbit.oak.segment.azure.tool.SegmentStoreMigrator.Builder
-
- Enclosing class:
- SegmentStoreMigrator
public static class SegmentStoreMigrator.Builder extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SegmentStoreMigrator
build()
SegmentStoreMigrator.Builder
setAppendMode()
SegmentStoreMigrator.Builder
withRevisionCount(java.lang.Integer revisionCount)
SegmentStoreMigrator.Builder
withSource(com.microsoft.azure.storage.blob.CloudBlobDirectory dir)
SegmentStoreMigrator.Builder
withSource(java.io.File dir)
SegmentStoreMigrator.Builder
withSourcePersistence(SegmentNodeStorePersistence source, java.lang.String sourceName)
SegmentStoreMigrator.Builder
withTarget(com.microsoft.azure.storage.blob.CloudBlobDirectory dir)
SegmentStoreMigrator.Builder
withTarget(java.io.File dir)
SegmentStoreMigrator.Builder
withTargetPersistence(SegmentNodeStorePersistence target, java.lang.String targetName)
-
-
-
Method Detail
-
withSource
public SegmentStoreMigrator.Builder withSource(java.io.File dir)
-
withSource
public SegmentStoreMigrator.Builder withSource(com.microsoft.azure.storage.blob.CloudBlobDirectory dir) throws java.net.URISyntaxException, com.microsoft.azure.storage.StorageException
- Throws:
java.net.URISyntaxException
com.microsoft.azure.storage.StorageException
-
withSourcePersistence
public SegmentStoreMigrator.Builder withSourcePersistence(SegmentNodeStorePersistence source, java.lang.String sourceName)
-
withTargetPersistence
public SegmentStoreMigrator.Builder withTargetPersistence(SegmentNodeStorePersistence target, java.lang.String targetName)
-
withTarget
public SegmentStoreMigrator.Builder withTarget(java.io.File dir)
-
withTarget
public SegmentStoreMigrator.Builder withTarget(com.microsoft.azure.storage.blob.CloudBlobDirectory dir) throws java.net.URISyntaxException, com.microsoft.azure.storage.StorageException
- Throws:
java.net.URISyntaxException
com.microsoft.azure.storage.StorageException
-
setAppendMode
public SegmentStoreMigrator.Builder setAppendMode()
-
withRevisionCount
public SegmentStoreMigrator.Builder withRevisionCount(java.lang.Integer revisionCount)
-
build
public SegmentStoreMigrator build()
-
-