Annotation Type Role


  • @Retention(RUNTIME)
    @Target(TYPE)
    public @interface Role
    Annotation used to declare if a given class is a plain fact or an event
    • Optional Element Summary

      Optional Elements 
      Modifier and Type Optional Element Description
      Role.Type value  
    • Element Detail

      • value

        Role.Type value
        Default:
        org.kie.api.definition.type.Role.Type.FACT