public class SkipObjectWithReferencePreProcessor extends Object implements ImportedObjectPreProcessor
BodyContent referencing a content of
the legacy Mail type| Constructor and Description |
|---|
SkipObjectWithReferencePreProcessor(Set<String> candidateTypes,
Set<String> skippedReferenceTypes) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
handles(ImportedObject object) |
ImportedObject |
process(ImportedObject object)
Takes an ImportedObject and returns a new, processed ImportedObject, or null if the ImportedObject should be skipped.
|
public boolean handles(ImportedObject object)
handles in interface ImportedObjectPreProcessorobject - The object to be processedtrue if this preprocessor should be applied to the object, otherwise false.public ImportedObject process(ImportedObject object)
ImportedObjectPreProcessorImportedObjectPreProcessor.handles(ImportedObject) returns trueprocess in interface ImportedObjectPreProcessorobject - The object that needs to be processedCopyright © 2003–2019 Atlassian. All rights reserved.