|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.atlassian.confluence.content.render.xhtml.migration.XhtmlContentWorkSource
public class XhtmlContentWorkSource
A work source that provides batches of ContentEntityObject
s that have XHTML formatted bodies.
This class is thread-safe.
Constructor Summary | |
---|---|
XhtmlContentWorkSource(ContentDao contentDao,
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 XhtmlContentWorkSource(ContentDao contentDao, 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 |