Interface INativeSignature


@Ser public 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).
  • 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, see NativeSignatureFlags.hasMeaningfulTargetName().
      Returns:
      signature target name
    • getAlternateNames

      List<String> 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

      List<String> 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

      Provides signature flags.
      Returns:
      signature flags
    • getConfidenceLevel

      INativeSignature.ConfidenceLevel getConfidenceLevel()
      Provides the confidence level of this signature, see INativeSignature.ConfidenceLevel.
      Returns:
    • match

      boolean match(INativeSignature signature)
      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, see matchExactly(INativeSignature).
      Parameters:
      signature -
      Returns:
      true if this signature's features are all matched by one feature of the given signature, false otherwise
    • matchExactly

      boolean matchExactly(INativeSignature signature)
      Exact match, i.e. both signatures have exactly the same features.
      Parameters:
      signature -
      Returns:
      true if both signatures have exactly the same features