Annotation Type DeprecatedRuleKey


  • @Repeatable(DeprecatedRuleKeys.class)
    @Retention(RUNTIME)
    @Target(TYPE)
    public @interface DeprecatedRuleKey
    Annotate a rule class with this annotation in order to provide deprecated rule keys (see RulesDefinition.NewRule.addDeprecatedRuleKey(String, String)). This annotation will make effect only when used with RuleMetadataLoader. Repository key can be omitted, then the current repository will be used. If there are several deprecated rule keys, put several annotations one after another.
    • Required Element Summary

      Required Elements 
      Modifier and Type Required Element Description
      String ruleKey  
    • Optional Element Summary

      Optional Elements 
      Modifier and Type Optional Element Description
      String repositoryKey  
    • Element Detail

      • repositoryKey

        String repositoryKey
        Default:
        ""