Class PageCopyOptions.Builder
- java.lang.Object
-
- com.atlassian.confluence.pages.persistence.dao.bulk.DefaultBulkOptions.BaseBuilder<PageCopyOptions.Builder>
-
- com.atlassian.confluence.pages.persistence.dao.bulk.copy.PageCopyOptions.Builder
-
- Enclosing class:
- PageCopyOptions
public static class PageCopyOptions.Builder extends DefaultBulkOptions.BaseBuilder<PageCopyOptions.Builder>
-
-
Field Summary
-
Fields inherited from class com.atlassian.confluence.pages.persistence.dao.bulk.DefaultBulkOptions.BaseBuilder
batchSize, maxProcessedEntries, progressMeter, user
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
-
Methods inherited from class com.atlassian.confluence.pages.persistence.dao.bulk.DefaultBulkOptions.BaseBuilder
buildDefault, withBatchSize, withMaxProcessedEntries, withProgressMeter, withUser
-
-
-
-
Method Detail
-
builder
protected final PageCopyOptions.Builder builder()
- Specified by:
builder
in classDefaultBulkOptions.BaseBuilder<PageCopyOptions.Builder>
-
withPageCopyOptions
public PageCopyOptions.Builder withPageCopyOptions(PageCopyOptions pageCopyOptions)
-
withCopyLabel
public PageCopyOptions.Builder withCopyLabel(boolean copyLabel)
-
withCopyAttachment
public PageCopyOptions.Builder withCopyAttachment(boolean copyAttachment)
-
withCopyPermission
public PageCopyOptions.Builder withCopyPermission(boolean copyPermission)
-
withContentProperty
public PageCopyOptions.Builder withContentProperty(boolean copyContentProperty)
-
withRequestId
public PageCopyOptions.Builder withRequestId(String requestId)
-
withNameConflictResolver
public PageCopyOptions.Builder withNameConflictResolver(PageNameConflictResolver pageNameConflictResolver)
-
withReplaceNameConflictResolver
public PageCopyOptions.Builder withReplaceNameConflictResolver(String searchText, String replaceText)
-
withPrefixNameConflictResolver
public PageCopyOptions.Builder withPrefixNameConflictResolver(String prefix)
-
withPrefixNameConflictResolver
public PageCopyOptions.Builder withPrefixNameConflictResolver(boolean applyForNewName, String prefix, int maxRetry)
-
withPrefixNameConflictResolver
public PageCopyOptions.Builder withPrefixNameConflictResolver(boolean applyForNewName, String prefix)
-
withPageContentTranformer
public PageCopyOptions.Builder withPageContentTranformer(PageContentTransformer pageContentTransformer)
-
withSkipLinkUpdates
public PageCopyOptions.Builder withSkipLinkUpdates(boolean shouldSkipLinkUpdates)
-
build
public PageCopyOptions build()
-
-