~sjdv1982/hivesystem/trunk

« back to all changes in this revision

Viewing changes to sparta/models/statemachinestate.spy

  • Committer: Sjoerd de Vries
  • Date: 2014-06-09 10:19:38 UTC
  • mfrom: (182.1.43 hive-view)
  • Revision ID: sjdv1982@gmail.com-20140609101938-7ji5g0buo09r0se6
merged with hive-view branch

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
Type StateMachineState {
 
2
  String state
 
3
  String process
 
4
  validate {
 
5
    assert len(state) > 0
 
6
  }
 
7
  error {
 
8
    'assert len(state) > 0'
 
9
    =>
 
10
    'The name of the state cannot be empty'
 
11
  }
 
12
  form {
 
13
    state.name = "State"
 
14
    process.name = "Process (optional)"
 
15
  }
 
16
}
 
 
b'\\ No newline at end of file'