1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18 package org.apache.commons.scxml.model;
19
20 import java.util.Collection;
21
22 import org.apache.commons.logging.Log;
23 import org.apache.commons.scxml.ErrorReporter;
24 import org.apache.commons.scxml.EventDispatcher;
25 import org.apache.commons.scxml.SCInstance;
26 import org.apache.commons.scxml.SCXMLExpressionException;
27
28 /***
29 * The class in this SCXML object model that corresponds to the
30 * <exit> SCXML element, which is a shorthand notation for
31 * an empty anonymous final state.
32 *
33 */
34 public class Exit extends Action {
35
36 /***
37 * The optional expression.
38 */
39 private String expr;
40
41 /***
42 * The optional namelist.
43 */
44 private String namelist;
45
46 /***
47 * Constructor.
48 */
49 public Exit() {
50 super();
51 }
52
53 /***
54 * Get the expression.
55 *
56 * @return String Returns the expr.
57 */
58 public final String getExpr() {
59 return expr;
60 }
61
62 /***
63 * Set the expression.
64 *
65 * @param expr The expr to set.
66 */
67 public final void setExpr(final String expr) {
68 this.expr = expr;
69 }
70
71 /***
72 * Get the namelist.
73 *
74 * @return String Returns the namelist.
75 */
76 public final String getNamelist() {
77 return namelist;
78 }
79
80 /***
81 * Set the namelist.
82 *
83 * @param namelist The namelist to set.
84 */
85 public final void setNamelist(final String namelist) {
86 this.namelist = namelist;
87 }
88
89 /***
90 * {@inheritDoc}
91 */
92 public void execute(final EventDispatcher evtDispatcher,
93 final ErrorReporter errRep, final SCInstance scInstance,
94 final Log appLog, final Collection derivedEvents)
95 throws ModelException, SCXMLExpressionException {
96
97 return;
98 }
99
100 }
101