Modifier and Type | Class and Description |
---|---|
class |
ContentWithTasksWorkSource
A work source that provides batches of
ContentEntityObject s that have XHTML formatted bodies. |
class |
LatestVersionXhtmlContentWorkSource
A work source that provides batches of
ContentEntityObject s that have XHTML formatted bodies. |
class |
OrderedEntityObjectBatchableWorkSource<T extends com.atlassian.core.bean.EntityObject>
A
BatchableWorkSource implementation which retrieves batches of EntityObject s by
ordering the entities by their IDs. |
class |
WikiMarkupContentEntityObjectMigrationWorkSource
Source that provides batches of
ContentEntityObject s that require migration. |
class |
XhtmlContentWorkSource
A work source that provides batches of
ContentEntityObject s that have XHTML formatted bodies. |
class |
XhtmlSpaceDescriptionsWorkSource
A work source that provides batches of
SpaceDescription s with BodyContent of type BodyType.XHTML |
Modifier and Type | Method and Description |
---|---|
List<Exception> |
WorkSourceBatchRunner.run(BatchableWorkSource<T> workSource,
BatchTask<T> task)
Begin executing against all the work in the supplied work source.
|
protected List<Exception> |
WorkSourceBatchRunner.run(BatchableWorkSource<T> workSource,
BatchTask<T> task,
ExecutorService executor)
Exposed (as protected) to allow specification of the executor in unit tests.
|
Constructor and Description |
---|
DefaultSiteMigrator(int numberOfThreads,
org.springframework.transaction.PlatformTransactionManager transactionManager,
ContentDao contentDao,
ExceptionTolerantMigrator migrator,
CacheFlusher cacheFlusher,
BatchableWorkSource<ContentEntityObject> workSource,
String versionCommentProperty,
String defaultVersionCommment,
com.atlassian.scheduler.core.LifecycleAwareSchedulerService lifecycleAwareSchedulerService)
|
DefaultSiteMigrator(int numberOfThreads,
org.springframework.transaction.PlatformTransactionManager transactionManager,
ContentDao contentDao,
ExceptionTolerantMigrator migrator,
com.atlassian.cache.CacheManager cacheManager,
BatchableWorkSource<ContentEntityObject> workSource,
String versionCommentProperty,
String defaultVersionCommment,
IndexFlushScheduler indexFlushScheduler)
|
DefaultSiteMigrator(int numberOfThreads,
org.springframework.transaction.PlatformTransactionManager transactionManager,
ContentDao contentDao,
ExceptionTolerantMigrator migrator,
com.atlassian.cache.CacheManager cacheManager,
BatchableWorkSource<ContentEntityObject> workSource,
String versionCommentProperty,
String defaultVersionCommment,
com.atlassian.scheduler.core.LifecycleAwareSchedulerService lifecycleAwareSchedulerService)
|
DefaultSiteMigrator(int numberOfThreads,
org.springframework.transaction.PlatformTransactionManager transactionManager,
org.quartz.Scheduler ignoredScheduler,
ContentDao contentDao,
ExceptionTolerantMigrator migrator,
com.atlassian.cache.CacheManager cacheManager,
BatchableWorkSource<ContentEntityObject> workSource,
String versionCommentProperty,
String defaultVersionCommment)
Deprecated.
since 5.9.0
|
DefaultSiteMigrator(int numberOfThreads,
org.hibernate.SessionFactory sessionFactory,
org.springframework.transaction.PlatformTransactionManager transactionManager,
ContentDao contentDao,
ExceptionTolerantMigrator migrator,
CacheFlusher cacheFlusher,
BatchableWorkSource<ContentEntityObject> workSource,
String versionCommentProperty,
String defaultVersionCommment,
com.atlassian.scheduler.core.LifecycleAwareSchedulerService lifecycleAwareSchedulerService) |
Modifier and Type | Class and Description |
---|---|
class |
SearchResultsBatchWorkSource<T>
Provides a worksource from a searchQuery, the query should return searchResults that can be converted
ContentEntityObjects
|
Copyright © 2003–2020 Atlassian. All rights reserved.