public class ChainedImportedObjectPreProcessor extends Object implements ImportedObjectPreProcessor
Constructor and Description |
---|
ChainedImportedObjectPreProcessor(List<ImportedObjectPreProcessor> processorList) |
Modifier and Type | Method and Description |
---|---|
static ChainedImportedObjectPreProcessor |
emptyList() |
boolean |
handles(ImportedObject object) |
ImportedObject |
process(ImportedObject object)
Process the object with each of the contained preprocessors
|
public ChainedImportedObjectPreProcessor(List<ImportedObjectPreProcessor> processorList)
public static ChainedImportedObjectPreProcessor emptyList()
public boolean handles(ImportedObject object)
handles
in interface ImportedObjectPreProcessor
object
- The object to be processedtrue
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 processedCopyright © 2003–2018 Atlassian. All rights reserved.