What is Peach
Installing
Tutorials
Methodology
Introduction
FAQ
Peach 3
Peach Pits
 General Conf
 Data Modeling
 State Modeling
 Agents
  Monitors
 Test
  Publishers
  Loggers
Running
Minset
Peach 2.3

License

StateModel

The StateModel elements defines a state model. The state model consists of at least one State containing at least one Action. The first state is indicated by the initialState attribute.

<StateModel name="SimpleModel" initialState="FirstState">

  <State name="FirstState">
    <Action type="output">
       <DataModel ref="TheDataModel" />
    </Action>
  </State>

</StateModel>

Attributes:

  • name — Name of the state model [required]

  • initialState — Name of first state [required]

Valid Child-Elements: