Annotation Interface Consume.FromKeyValueEntity

Enclosing class:
Consume

@Target(TYPE) @Retention(RUNTIME) @Documented public static @interface Consume.FromKeyValueEntity
Annotation for consuming state updates from a KeyValueEntity.

The underlying method must be declared to receive one parameter for the received state changes.

  • Required Element Summary

    Required Elements
    Modifier and Type
    Required Element
    Description
    Class<? extends KeyValueEntity<?>>
    Assign the class type of the entity one intends to consume from, which must extend KeyValueEntity.