Annotation Type Deliberation


  • @Target(ANNOTATION_TYPE)
    @Retention(RUNTIME)
    public @interface Deliberation
    Deliberation settings. Instance level inhibitions are defined as method using the @GoalInhibit annotation.
    • Optional Element Summary

      Optional Elements 
      Modifier and Type Optional Element Description
      boolean cardinalityone
      The cardinality.
      boolean droponinhibit
      Suspend or drop on inhibition.
      java.lang.Class<?>[] inhibits
      The inhibited goal.
    • Element Detail

      • cardinalityone

        boolean cardinalityone
        The cardinality. True if only one goal can be active at the same time.
        Default:
        false
      • inhibits

        java.lang.Class<?>[] inhibits
        The inhibited goal.
        Default:
        {}
      • droponinhibit

        boolean droponinhibit
        Suspend or drop on inhibition.
        Returns:
        True, if goal should be dropped.
        Default:
        false