|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.atlassian.confluence.importexport.ChainedImportedObjectPreProcessor
public class ChainedImportedObjectPreProcessor
A container that runs an ImportedObject through multiple ImportedObjectPreProcessors in sequence.
Constructor Summary | |
---|---|
ChainedImportedObjectPreProcessor(java.util.List<ImportedObjectPreProcessor> processorList)
|
Method Summary | |
---|---|
static ChainedImportedObjectPreProcessor |
emptyList()
|
boolean |
handles(ImportedObject object)
|
ImportedObject |
process(ImportedObject object)
Process the object with each of the contained preprocessors |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ChainedImportedObjectPreProcessor(java.util.List<ImportedObjectPreProcessor> processorList)
Method Detail |
---|
public static ChainedImportedObjectPreProcessor emptyList()
public boolean handles(ImportedObject object)
handles
in interface ImportedObjectPreProcessor
object
- The object to be processed
true
if any of the contained preprocessors should be applied to the object, otherwise false
.public ImportedObject process(ImportedObject object)
process
in interface ImportedObjectPreProcessor
object
- The object that needs to be processed
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |