summaryrefslogtreecommitdiff
path: root/spec/spec/requirement-action-transition.yml
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2020-06-17 09:12:03 +0200
committerSebastian Huber <sebastian.huber@embedded-brains.de>2020-06-17 09:16:47 +0200
commit5d3f70af524073b74b35ca86882ea0cfd45abc45 (patch)
treefc52c430e824c4a30e82c3f92462cf8801f46ab5 /spec/spec/requirement-action-transition.yml
parent4c5c9c35f0f8142539b9904526b2d5bcf6c28327 (diff)
spec: Clarify action requirements
Diffstat (limited to 'spec/spec/requirement-action-transition.yml')
-rw-r--r--spec/spec/requirement-action-transition.yml13
1 files changed, 10 insertions, 3 deletions
diff --git a/spec/spec/requirement-action-transition.yml b/spec/spec/requirement-action-transition.yml
index 45484566..77cac693 100644
--- a/spec/spec/requirement-action-transition.yml
+++ b/spec/spec/requirement-action-transition.yml
@@ -24,9 +24,16 @@ spec-info:
description: null
spec-type: requirement-action-transition-pre
description: |
- This set of attributes defines the transition from all state variations
- of the set of pre-conditions to states of post-conditions through an
- action in an action requirement.
+ This set of attributes defines the transition from multiple sets of
+ states of pre-conditions to a set of states of post-conditions through an
+ action in an action requirement. The ability to specify multiple sets of
+ states of pre-conditions which result in a common set of post-conditions
+ may allow a more compact specification of the transition map. For
+ example, let us suppose you want to specify the action of a function with
+ a pointer parameter. The function performs an early check that the
+ pointer is NULL and in this case returns an error code. The pointer
+ condition dominates the action outcome if the pointer is NULL. Other
+ pre-condition states can be simply set to ``all`` for this transition.
mandatory-attributes: all
spec-name: Action Requirement Transition
spec-type: requirement-action-transition