summaryrefslogtreecommitdiffstats
path: root/spec/spec/requirement-action-exp.yml
blob: edb266af1e58947603c0c4173b485891cd335a44 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
copyrights:
- Copyright (C) 2021 embedded brains GmbH & Co. KG
enabled-by: true
links:
- role: spec-member
  uid: root
spec-description: null
spec-example: null
spec-info:
  dict:
    attributes:
      else:
        description: |
          It shall be the name of the state of the post-condition.
        spec-type: requirement-action-exp-state-name
      if:
        description: |
          If the boolean expression evaluates to true, then the state is
          defined according to the ``then`` attribute value.
        spec-type: requirement-action-exp-bool
      then:
        description: |
          It shall be the name of the state of the post-condition.
        spec-type: requirement-action-exp-state-name
      then-specified-by:
        description: |
          It shall be the name of a pre-condition.  The name of the state of
          the pre-condition in the associated transition defines the name of
          the state of the post-condition.
        spec-type: requirement-action-name
      specified-by:
        description: |
          It shall be the name of a pre-condition.  The name of the state of
          the pre-condition in the associated transition defines the name of
          the state of the post-condition.
        spec-type: requirement-action-name
    description: |
      This set of attributes defines an expression which may define the state
      of a post-condition.  The ``else`` and ``specified-by`` shall be used
      individually.   The ``if`` and ``then`` or ``then-specified-by``
      expressions shall be used together.
    mandatory-attributes: at-least-one
spec-name: Action Requirement Expression
spec-type: requirement-action-exp
type: spec