|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IImportFilterStrategy
Import filter strategies are applied to the output of an IImportToolAdapter
.
These strategies will usually be used to filter out obviously irrelevant or incorrect clones
returned by an import tool adapter. They might also be used to merge or modify clones if
this seems prudent.
Implementations need to be registered with the CPC Imports extension point "org.electrocodeogram.cpc.imports.importFilterStrategies".
Nested Class Summary | |
---|---|
static class |
IImportFilterStrategy.Status
Return status for the filterImport(Map, Map) method. |
Method Summary | |
---|---|
IImportFilterStrategy.Status |
filterImport(java.util.Map<ICloneFile,java.util.List<IClone>> cloneResults,
java.util.Map<java.lang.String,java.lang.String> options)
Takes the result of an import operation and filters out clones which are deemed not be be worth importing. |
Method Detail |
---|
IImportFilterStrategy.Status filterImport(java.util.Map<ICloneFile,java.util.List<IClone>> cloneResults, java.util.Map<java.lang.String,java.lang.String> options)
All modifications are to be done in place, in the provided clone results map.
cloneResults
- the result map of the clone import, never null.options
- a configuration options map, never null.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |