|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.atlassian.confluence.content.render.xhtml.migration.ContentWithTasksWorkSource
public class ContentWithTasksWorkSource
A work source that provides batches of ContentEntityObjects that have XHTML formatted bodies.
This class is thread-safe.
| Constructor Summary | |
|---|---|
ContentWithTasksWorkSource(PageManager pageManager,
int batchSize)
|
|
| Method Summary | |
|---|---|
java.util.List<ContentEntityObject> |
getBatch()
Returns a batch of work. |
int |
getTotalSize()
|
boolean |
hasMoreBatches()
|
int |
numberOfBatches()
|
void |
reset(int total)
Reset the work source ready to begin getting batches again. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ContentWithTasksWorkSource(PageManager pageManager,
int batchSize)
| Method Detail |
|---|
public java.util.List<ContentEntityObject> getBatch()
getBatch in interface BatchableWorkSource<ContentEntityObject>public boolean hasMoreBatches()
hasMoreBatches in interface BatchableWorkSource<ContentEntityObject>public int numberOfBatches()
numberOfBatches in interface BatchableWorkSource<ContentEntityObject>public void reset(int total)
BatchableWorkSource
reset in interface BatchableWorkSource<ContentEntityObject>public int getTotalSize()
getTotalSize in interface BatchableWorkSource<ContentEntityObject>
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||