Interface INativeSignature
A native signature is composed of a collection of
INativeFeature
identifying one or
several native item(s) -- the target(s) --, and a collection of INativeAttribute
representing what is known about the target(s).-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic enum
Confidence level associated with a signature. -
Method Summary
Modifier and TypeMethodDescriptionProvides alternate names for the signature target(s).Provides the attributes associated with the signature target(s).Provides the confidence level of this signature, seeINativeSignature.ConfidenceLevel
.getFlags()
Provides signature flags.Provides a series of meaningful names to use when a signature target name is meaningless.Provides the name of the signature target(s).boolean
match
(INativeSignature signature) Check if this signature's features are all matched by one of the given signature's features.boolean
matchExactly
(INativeSignature signature) Exact match, i.e.
-
Method Details
-
getTargetName
String getTargetName()Provides the name of the signature target(s). The name might not be meaningful, e.g. when the signature has been created by merging several signatures, seeNativeSignatureFlags.hasMeaningfulTargetName()
.- Returns:
- signature target name
-
getAlternateNames
Provides alternate names for the signature target(s). These are meaningful names, only used when the target name is itself meaningful.- Returns:
- list of alternate names, possibly null or empty
-
getPossibleNames
Provides a series of meaningful names to use when a signature target name is meaningless.- Returns:
- list of possible names, possibly null or empty
-
getAttributes
List<INativeAttribute> getAttributes()Provides the attributes associated with the signature target(s).- Returns:
- attributes of the target(s)
-
getFlags
NativeSignatureFlags getFlags()Provides signature flags.- Returns:
- signature flags
-
getConfidenceLevel
INativeSignature.ConfidenceLevel getConfidenceLevel()Provides the confidence level of this signature, seeINativeSignature.ConfidenceLevel
.- Returns:
-
match
Check if this signature's features are all matched by one of the given signature's features. Note that the given signature do not need to be exactly equals to this one for this method to return true, seematchExactly(INativeSignature)
.- Parameters:
signature
-- Returns:
- true if this signature's features are all matched by one feature of the given signature, false otherwise
-
matchExactly
Exact match, i.e. both signatures have exactly the same features.- Parameters:
signature
-- Returns:
- true if both signatures have exactly the same features
-