public class SkipObjectPreProcessor extends Object implements ImportedObjectPreProcessor
Constructor and Description |
---|
SkipObjectPreProcessor(List<String> skippedFullClassNames) |
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 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–2016 Atlassian. All rights reserved.