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