org.electrocodeogram.cpc.imports.api.data
Interface IImportCloneObjectExtension

All Superinterfaces:
java.lang.Cloneable, ICloneDataElement, ICloneObjectExtension, java.io.Serializable

public interface IImportCloneObjectExtension
extends ICloneObjectExtension

Optional clone object extension which may be used by IImportToolAdapters to provide some per-clone confidence data.

An IImportToolAdapter is not required to make use of this feature.

Author:
vw

Method Summary
 byte getConfidence()
          Provides the import implementations confidence in the detection accuracy of this clone.
 
Methods inherited from interface org.electrocodeogram.cpc.core.api.data.ICloneObjectExtension
clone, getExtensionInterfaceClass, isPartial, setParentUuid, toString
 
Methods inherited from interface org.electrocodeogram.cpc.core.api.data.ICloneDataElement
isSealed, seal
 

Method Detail

getConfidence

byte getConfidence()
Provides the import implementations confidence in the detection accuracy of this clone.

Returns:
confidence in percent (range: 0-100) or -1 if not set.