public class SkipObjectPropertyPreProcessor extends Object implements ImportedObjectPreProcessor
Constructor and Description |
---|
SkipObjectPropertyPreProcessor(Set<String> skippedFullClassNameAndPropertyNamePairs) |
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 SkipObjectPropertyPreProcessor(Set<String> skippedFullClassNameAndPropertyNamePairs)
skippedFullClassNameAndPropertyNamePairs
- Set of pairs of full class names and properties to skip,
example: Set("com.atlassian.confluence.spaces.SpaceGroup#spaceGroup")public boolean handles(ImportedObject object)
handles
in interface ImportedObjectPreProcessor
object
- The object to be processedtrue
if this preprocessor should be applied to the object, otherwise false
.public ImportedObject process(ImportedObject object)
ImportedObjectPreProcessor
ImportedObjectPreProcessor.handles(ImportedObject)
returns trueprocess
in interface ImportedObjectPreProcessor
object
- The object that needs to be processedCopyright © 2003–2020 Atlassian. All rights reserved.