Annotation Interface Belief


@Target({FIELD,METHOD}) @Retention(RUNTIME) public @interface Belief
  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
    A dynamic belief is automatically updated when other beliefs change.
    boolean
    A dynamic belief reevaluated on every access.
    The implementation type for collection types.
    The events this condition should react to.
    long
    An update rate causes the belief to be reevaluated periodically.
  • Element Details

    • implementation

      Class<?> implementation
      The implementation type for collection types.
      Default:
      java.lang.Object.class
    • dynamic

      boolean dynamic
      A dynamic belief reevaluated on every access.
      Default:
      false
    • beliefs

      String[] beliefs
      A dynamic belief is automatically updated when other beliefs change.
      Default:
      {}
    • rawevents

      RawEvent[] rawevents
      The events this condition should react to.
      Default:
      {}
    • updaterate

      long updaterate
      An update rate causes the belief to be reevaluated periodically.
      Default:
      0L