Interface RuleFinder


  • @ServerSide
    @ComputeEngineSide
    @Deprecated(since="11.4",
                forRemoval=true)
    public interface RuleFinder
    Deprecated, for removal: This API element is subject to removal in a future version.
    since 11.4 as ProfileExporter/ProfileImporter got removed
    Use ActiveRules on scanner side.
    Since:
    2.3
    • Method Summary

      All Methods Instance Methods Abstract Methods Deprecated Methods 
      Modifier and Type Method Description
      Rule find​(RuleQuery query)
      Deprecated, for removal: This API element is subject to removal in a future version.
       
      java.util.Collection<Rule> findAll​(RuleQuery query)
      Deprecated, for removal: This API element is subject to removal in a future version.
       
      Rule findByKey​(java.lang.String repositoryKey, java.lang.String key)
      Deprecated, for removal: This API element is subject to removal in a future version.
       
      Rule findByKey​(RuleKey key)
      Deprecated, for removal: This API element is subject to removal in a future version.
       
    • Method Detail

      • findByKey

        @CheckForNull
        Rule findByKey​(java.lang.String repositoryKey,
                       java.lang.String key)
        Deprecated, for removal: This API element is subject to removal in a future version.
      • findByKey

        @CheckForNull
        Rule findByKey​(RuleKey key)
        Deprecated, for removal: This API element is subject to removal in a future version.
      • find

        @CheckForNull
        Rule find​(RuleQuery query)
        Deprecated, for removal: This API element is subject to removal in a future version.
        Throws:
        java.lang.IllegalArgumentException - if more than one result
      • findAll

        java.util.Collection<Rule> findAll​(RuleQuery query)
        Deprecated, for removal: This API element is subject to removal in a future version.