Class DefaultBulkOptions
- java.lang.Object
-
- com.atlassian.confluence.pages.persistence.dao.bulk.DefaultBulkOptions
-
- Direct Known Subclasses:
AttachmentDeleteOptions
,PageCopyOptions
,PageDeleteOptions
public class DefaultBulkOptions extends Object
options to guide bulk page operations usage- Since:
- 6.0
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
DefaultBulkOptions.BaseBuilder<T extends DefaultBulkOptions.BaseBuilder>
protected static class
DefaultBulkOptions.Builder
-
Field Summary
Fields Modifier and Type Field Description static String
DEFAULT_BATCH_SIZE_PROPERTY
static String
MAX_PROCESSED_ENTRIES_PROPERTY
-
Constructor Summary
Constructors Modifier Constructor Description DefaultBulkOptions()
protected
DefaultBulkOptions(int maxProcessedEntries, int batchSize, ConfluenceUser user, com.atlassian.core.util.ProgressMeter progressMeter)
protected
DefaultBulkOptions(DefaultBulkOptions options)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static DefaultBulkOptions.Builder
defaultBuilder()
int
getBatchSize()
int
getMaxProcessedEntries()
com.atlassian.core.util.ProgressMeter
getProgressMeter()
@Nullable ConfluenceUser
getUser()
-
-
-
Field Detail
-
DEFAULT_BATCH_SIZE_PROPERTY
public static final String DEFAULT_BATCH_SIZE_PROPERTY
- See Also:
- Constant Field Values
-
MAX_PROCESSED_ENTRIES_PROPERTY
public static final String MAX_PROCESSED_ENTRIES_PROPERTY
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
DefaultBulkOptions
public DefaultBulkOptions()
-
DefaultBulkOptions
protected DefaultBulkOptions(int maxProcessedEntries, int batchSize, ConfluenceUser user, com.atlassian.core.util.ProgressMeter progressMeter)
-
DefaultBulkOptions
protected DefaultBulkOptions(DefaultBulkOptions options)
-
-
Method Detail
-
getMaxProcessedEntries
public int getMaxProcessedEntries()
-
getBatchSize
public int getBatchSize()
-
getUser
public @Nullable ConfluenceUser getUser()
-
getProgressMeter
public com.atlassian.core.util.ProgressMeter getProgressMeter()
-
defaultBuilder
public static DefaultBulkOptions.Builder defaultBuilder()
-
-