org.kie.api.definition.type

## Annotation Type Role

-     @Retention(value=RUNTIME)
       @Target(value=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 and Description
    --- | ---
    `Role.Type` | `value`

- - ### Element Detail

    - #### value

          public abstract Role.Type value

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

Copyright © 2001–2021 JBoss by Red Hat. All rights reserved.