What's the difference between "requiresConcept" and "includesConcepts"

41 views
Skip to first unread message

Jürgen Dufner

unread,
Apr 5, 2019, 4:18:28 PM4/5/19
to jQAssistant
Please consider following assumptions:
  • Concept A (no other requirements)
  • Concept B depends on Concept A
What's the difference between

Concept B requiresConcepts="Concept A"

and

Concept B includesConcepts="Concept A"

?

Further questions:
  • Does only a constraint require a concept?
  • Does only a group include constraints?

Thanks for clarification.


Dirk Mahler

unread,
Apr 7, 2019, 9:25:49 AM4/7/19
to jqass...@googlegroups.com
Hi Jürgen,

the answer can be broken down to two simple bullets:

1. Groups "include" other rules, i.e. other groups, concepts or constraints.
2. Concepts/constraints may "require" other concepts (e.g. that provide required labels). This can build up a graph of required concepts, e.g. a constraint requires concept1 which requires concept2 and so on...

At runtime jQAssistant resolves all rules the are included in the selected groups (by default this is a group named "default", configurable in the pom.xml or on the command line) and the graph of required concepts for execution in correct order.

Is this explanation clear enough?

Cheers

Dirk

------ Originalnachricht ------
Von: "Jürgen Dufner" <juergen...@gmail.com>
An: "jQAssistant" <jqass...@googlegroups.com>
Gesendet: 05.04.2019 22:18:27
Betreff: [jQAssistant] What's the difference between "requiresConcept" and "includesConcepts"

--
You received this message because you are subscribed to the Google Groups "jQAssistant" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jqassistant...@googlegroups.com.
To post to this group, send email to jqass...@googlegroups.com.
Visit this group at https://groups.google.com/group/jqassistant.
To view this discussion on the web visit https://groups.google.com/d/msgid/jqassistant/c3c2b39d-b3a7-4485-a622-b8e85e4eb5b3%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Jürgen Dufner

unread,
Apr 7, 2019, 3:42:13 PM4/7/19
to jQAssistant
Hi Dirk,

thank you for clarifying. I've also taken a closer look to

https://github.com/buschmais/jqa-core-framework/blob/master/rule/src/main/resources/META-INF/xsd/jqassistant-rules-1.4.xsd

The schema helped me to understand the difference.

Cheers
Jürgen


Am Sonntag, 7. April 2019 15:25:49 UTC+2 schrieb Dirk Mahler:
Hi Jürgen,

the answer can be broken down to two simple bullets:

1. Groups "include" other rules, i.e. other groups, concepts or constraints.
2. Concepts/constraints may "require" other concepts (e.g. that provide required labels). This can build up a graph of required concepts, e.g. a constraint requires concept1 which requires concept2 and so on...

At runtime jQAssistant resolves all rules the are included in the selected groups (by default this is a group named "default", configurable in the pom.xml or on the command line) and the graph of required concepts for execution in correct order.

Is this explanation clear enough?

Cheers

Dirk

------ Originalnachricht ------
Von: "Jürgen Dufner" <juerge...@gmail.com>
An: "jQAssistant" <jqass...@googlegroups.com>
Gesendet: 05.04.2019 22:18:27
Betreff: [jQAssistant] What's the difference between "requiresConcept" and "includesConcepts"

Please consider following assumptions:
  • Concept A (no other requirements)
  • Concept B depends on Concept A
What's the difference between

Concept B requiresConcepts="Concept A"

and

Concept B includesConcepts="Concept A"

?

Further questions:
  • Does only a constraint require a concept?
  • Does only a group include constraints?

Thanks for clarification.


--
You received this message because you are subscribed to the Google Groups "jQAssistant" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jqass...@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages