You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by at...@apache.org on 2014/09/15 15:36:45 UTC
svn commit: r922280 [32/40] - in
/websites/production/commons/content/proper/commons-scxml: ./ 0.5/ 0.6/
0.7/ 0.8/ 0.9/ apidocs/ apidocs/org/apache/commons/scxml2/
apidocs/org/apache/commons/scxml2/class-use/
apidocs/org/apache/commons/scxml2/env/ apid...
Modified: websites/production/commons/content/proper/commons-scxml/testapidocs/org/apache/commons/scxml2/model/ScxmlInitialAttributeTest.html
==============================================================================
--- websites/production/commons/content/proper/commons-scxml/testapidocs/org/apache/commons/scxml2/model/ScxmlInitialAttributeTest.html (original)
+++ websites/production/commons/content/proper/commons-scxml/testapidocs/org/apache/commons/scxml2/model/ScxmlInitialAttributeTest.html Mon Sep 15 13:36:40 2014
@@ -150,7 +150,7 @@ extends <a href="http://docs.oracle.com/
<!-- -->
</a>
<h3>Methods inherited from class java.lang.<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></h3>
-<code><a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#clone()" title="class or interface in java.lang">clone</a>, <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#equals(java.lang.Object)" title="class or interface in java.lang">equals</a>, <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#finalize()" title="class or interface in java.lang">finalize</a>, <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#getClass()" title="class or interface in java.lang">getClass</a>, <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#hashCode()" title="class or interface in java.lang">hashCode</a>, <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#notify()" title="class or interface in java.lang">notify</a>, <a href="http://docs.oracle.com/javase/6/docs/api/java/lang
/Object.html?is-external=true#notifyAll()" title="class or interface in java.lang">notifyAll</a>, <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#toString()" title="class or interface in java.lang">toString</a>, <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#wait()" title="class or interface in java.lang">wait</a>, <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#wait(long)" title="class or interface in java.lang">wait</a>, <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#wait(long, int)" title="class or interface in java.lang">wait</a></code></li>
+<code><a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#clone()" title="class or interface in java.lang">clone</a>, <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#equals(java.lang.Object)" title="class or interface in java.lang">equals</a>, <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#finalize()" title="class or interface in java.lang">finalize</a>, <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#getClass()" title="class or interface in java.lang">getClass</a>, <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#hashCode()" title="class or interface in java.lang">hashCode</a>, <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#notify()" title="class or interface in java.lang">notify</a>, <a href="http://docs.oracle.com/javase/6/docs/api/java/lang
/Object.html?is-external=true#notifyAll()" title="class or interface in java.lang">notifyAll</a>, <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#toString()" title="class or interface in java.lang">toString</a>, <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#wait()" title="class or interface in java.lang">wait</a>, <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#wait(long)" title="class or interface in java.lang">wait</a>, <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#wait(long,%20int)" title="class or interface in java.lang">wait</a></code></li>
</ul>
</li>
</ul>
Modified: websites/production/commons/content/proper/commons-scxml/testapidocs/org/apache/commons/scxml2/model/StateTest.html
==============================================================================
--- websites/production/commons/content/proper/commons-scxml/testapidocs/org/apache/commons/scxml2/model/StateTest.html (original)
+++ websites/production/commons/content/proper/commons-scxml/testapidocs/org/apache/commons/scxml2/model/StateTest.html Mon Sep 15 13:36:40 2014
@@ -206,7 +206,7 @@ extends <a href="http://docs.oracle.com/
<!-- -->
</a>
<h3>Methods inherited from class java.lang.<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></h3>
-<code><a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#clone()" title="class or interface in java.lang">clone</a>, <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#equals(java.lang.Object)" title="class or interface in java.lang">equals</a>, <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#finalize()" title="class or interface in java.lang">finalize</a>, <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#getClass()" title="class or interface in java.lang">getClass</a>, <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#hashCode()" title="class or interface in java.lang">hashCode</a>, <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#notify()" title="class or interface in java.lang">notify</a>, <a href="http://docs.oracle.com/javase/6/docs/api/java/lang
/Object.html?is-external=true#notifyAll()" title="class or interface in java.lang">notifyAll</a>, <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#toString()" title="class or interface in java.lang">toString</a>, <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#wait()" title="class or interface in java.lang">wait</a>, <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#wait(long)" title="class or interface in java.lang">wait</a>, <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#wait(long, int)" title="class or interface in java.lang">wait</a></code></li>
+<code><a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#clone()" title="class or interface in java.lang">clone</a>, <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#equals(java.lang.Object)" title="class or interface in java.lang">equals</a>, <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#finalize()" title="class or interface in java.lang">finalize</a>, <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#getClass()" title="class or interface in java.lang">getClass</a>, <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#hashCode()" title="class or interface in java.lang">hashCode</a>, <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#notify()" title="class or interface in java.lang">notify</a>, <a href="http://docs.oracle.com/javase/6/docs/api/java/lang
/Object.html?is-external=true#notifyAll()" title="class or interface in java.lang">notifyAll</a>, <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#toString()" title="class or interface in java.lang">toString</a>, <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#wait()" title="class or interface in java.lang">wait</a>, <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#wait(long)" title="class or interface in java.lang">wait</a>, <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#wait(long,%20int)" title="class or interface in java.lang">wait</a></code></li>
</ul>
</li>
</ul>
Modified: websites/production/commons/content/proper/commons-scxml/testapidocs/org/apache/commons/scxml2/model/StatelessModelTest.html
==============================================================================
--- websites/production/commons/content/proper/commons-scxml/testapidocs/org/apache/commons/scxml2/model/StatelessModelTest.html (original)
+++ websites/production/commons/content/proper/commons-scxml/testapidocs/org/apache/commons/scxml2/model/StatelessModelTest.html Mon Sep 15 13:36:40 2014
@@ -169,7 +169,7 @@ extends <a href="http://docs.oracle.com/
<!-- -->
</a>
<h3>Methods inherited from class java.lang.<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></h3>
-<code><a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#clone()" title="class or interface in java.lang">clone</a>, <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#equals(java.lang.Object)" title="class or interface in java.lang">equals</a>, <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#finalize()" title="class or interface in java.lang">finalize</a>, <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#getClass()" title="class or interface in java.lang">getClass</a>, <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#hashCode()" title="class or interface in java.lang">hashCode</a>, <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#notify()" title="class or interface in java.lang">notify</a>, <a href="http://docs.oracle.com/javase/6/docs/api/java/lang
/Object.html?is-external=true#notifyAll()" title="class or interface in java.lang">notifyAll</a>, <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#toString()" title="class or interface in java.lang">toString</a>, <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#wait()" title="class or interface in java.lang">wait</a>, <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#wait(long)" title="class or interface in java.lang">wait</a>, <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#wait(long, int)" title="class or interface in java.lang">wait</a></code></li>
+<code><a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#clone()" title="class or interface in java.lang">clone</a>, <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#equals(java.lang.Object)" title="class or interface in java.lang">equals</a>, <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#finalize()" title="class or interface in java.lang">finalize</a>, <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#getClass()" title="class or interface in java.lang">getClass</a>, <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#hashCode()" title="class or interface in java.lang">hashCode</a>, <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#notify()" title="class or interface in java.lang">notify</a>, <a href="http://docs.oracle.com/javase/6/docs/api/java/lang
/Object.html?is-external=true#notifyAll()" title="class or interface in java.lang">notifyAll</a>, <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#toString()" title="class or interface in java.lang">toString</a>, <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#wait()" title="class or interface in java.lang">wait</a>, <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#wait(long)" title="class or interface in java.lang">wait</a>, <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#wait(long,%20int)" title="class or interface in java.lang">wait</a></code></li>
</ul>
</li>
</ul>
Modified: websites/production/commons/content/proper/commons-scxml/testapidocs/org/apache/commons/scxml2/model/TransitionTargetTest.html
==============================================================================
--- websites/production/commons/content/proper/commons-scxml/testapidocs/org/apache/commons/scxml2/model/TransitionTargetTest.html (original)
+++ websites/production/commons/content/proper/commons-scxml/testapidocs/org/apache/commons/scxml2/model/TransitionTargetTest.html Mon Sep 15 13:36:40 2014
@@ -154,7 +154,7 @@ extends <a href="http://docs.oracle.com/
<!-- -->
</a>
<h3>Methods inherited from class java.lang.<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></h3>
-<code><a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#clone()" title="class or interface in java.lang">clone</a>, <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#equals(java.lang.Object)" title="class or interface in java.lang">equals</a>, <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#finalize()" title="class or interface in java.lang">finalize</a>, <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#getClass()" title="class or interface in java.lang">getClass</a>, <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#hashCode()" title="class or interface in java.lang">hashCode</a>, <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#notify()" title="class or interface in java.lang">notify</a>, <a href="http://docs.oracle.com/javase/6/docs/api/java/lang
/Object.html?is-external=true#notifyAll()" title="class or interface in java.lang">notifyAll</a>, <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#toString()" title="class or interface in java.lang">toString</a>, <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#wait()" title="class or interface in java.lang">wait</a>, <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#wait(long)" title="class or interface in java.lang">wait</a>, <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#wait(long, int)" title="class or interface in java.lang">wait</a></code></li>
+<code><a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#clone()" title="class or interface in java.lang">clone</a>, <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#equals(java.lang.Object)" title="class or interface in java.lang">equals</a>, <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#finalize()" title="class or interface in java.lang">finalize</a>, <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#getClass()" title="class or interface in java.lang">getClass</a>, <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#hashCode()" title="class or interface in java.lang">hashCode</a>, <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#notify()" title="class or interface in java.lang">notify</a>, <a href="http://docs.oracle.com/javase/6/docs/api/java/lang
/Object.html?is-external=true#notifyAll()" title="class or interface in java.lang">notifyAll</a>, <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#toString()" title="class or interface in java.lang">toString</a>, <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#wait()" title="class or interface in java.lang">wait</a>, <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#wait(long)" title="class or interface in java.lang">wait</a>, <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#wait(long,%20int)" title="class or interface in java.lang">wait</a></code></li>
</ul>
</li>
</ul>
Modified: websites/production/commons/content/proper/commons-scxml/testapidocs/org/apache/commons/scxml2/model/TransitionTest.html
==============================================================================
--- websites/production/commons/content/proper/commons-scxml/testapidocs/org/apache/commons/scxml2/model/TransitionTest.html (original)
+++ websites/production/commons/content/proper/commons-scxml/testapidocs/org/apache/commons/scxml2/model/TransitionTest.html Mon Sep 15 13:36:40 2014
@@ -146,7 +146,7 @@ extends <a href="http://docs.oracle.com/
<!-- -->
</a>
<h3>Methods inherited from class java.lang.<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></h3>
-<code><a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#clone()" title="class or interface in java.lang">clone</a>, <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#equals(java.lang.Object)" title="class or interface in java.lang">equals</a>, <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#finalize()" title="class or interface in java.lang">finalize</a>, <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#getClass()" title="class or interface in java.lang">getClass</a>, <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#hashCode()" title="class or interface in java.lang">hashCode</a>, <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#notify()" title="class or interface in java.lang">notify</a>, <a href="http://docs.oracle.com/javase/6/docs/api/java/lang
/Object.html?is-external=true#notifyAll()" title="class or interface in java.lang">notifyAll</a>, <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#toString()" title="class or interface in java.lang">toString</a>, <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#wait()" title="class or interface in java.lang">wait</a>, <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#wait(long)" title="class or interface in java.lang">wait</a>, <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#wait(long, int)" title="class or interface in java.lang">wait</a></code></li>
+<code><a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#clone()" title="class or interface in java.lang">clone</a>, <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#equals(java.lang.Object)" title="class or interface in java.lang">equals</a>, <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#finalize()" title="class or interface in java.lang">finalize</a>, <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#getClass()" title="class or interface in java.lang">getClass</a>, <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#hashCode()" title="class or interface in java.lang">hashCode</a>, <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#notify()" title="class or interface in java.lang">notify</a>, <a href="http://docs.oracle.com/javase/6/docs/api/java/lang
/Object.html?is-external=true#notifyAll()" title="class or interface in java.lang">notifyAll</a>, <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#toString()" title="class or interface in java.lang">toString</a>, <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#wait()" title="class or interface in java.lang">wait</a>, <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#wait(long)" title="class or interface in java.lang">wait</a>, <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#wait(long,%20int)" title="class or interface in java.lang">wait</a></code></li>
</ul>
</li>
</ul>
Modified: websites/production/commons/content/proper/commons-scxml/testapidocs/org/apache/commons/scxml2/package-frame.html
==============================================================================
--- websites/production/commons/content/proper/commons-scxml/testapidocs/org/apache/commons/scxml2/package-frame.html (original)
+++ websites/production/commons/content/proper/commons-scxml/testapidocs/org/apache/commons/scxml2/package-frame.html Mon Sep 15 13:36:40 2014
@@ -21,7 +21,6 @@
<li><a href="StatusTest.html" title="class in org.apache.commons.scxml2" target="classFrame">StatusTest</a></li>
<li><a href="TieBreakerTest.html" title="class in org.apache.commons.scxml2" target="classFrame">TieBreakerTest</a></li>
<li><a href="TriggerEventTest.html" title="class in org.apache.commons.scxml2" target="classFrame">TriggerEventTest</a></li>
-<li><a href="W3CTest.html" title="class in org.apache.commons.scxml2" target="classFrame">W3CTest</a></li>
<li><a href="WildcardTest.html" title="class in org.apache.commons.scxml2" target="classFrame">WildcardTest</a></li>
<li><a href="WizardsTest.html" title="class in org.apache.commons.scxml2" target="classFrame">WizardsTest</a></li>
</ul>
Modified: websites/production/commons/content/proper/commons-scxml/testapidocs/org/apache/commons/scxml2/package-summary.html
==============================================================================
--- websites/production/commons/content/proper/commons-scxml/testapidocs/org/apache/commons/scxml2/package-summary.html (original)
+++ websites/production/commons/content/proper/commons-scxml/testapidocs/org/apache/commons/scxml2/package-summary.html Mon Sep 15 13:36:40 2014
@@ -129,16 +129,12 @@
</td>
</tr>
<tr class="altColor">
-<td class="colFirst"><a href="../../../../org/apache/commons/scxml2/W3CTest.html" title="class in org.apache.commons.scxml2">W3CTest</a></td>
-<td class="colLast"> </td>
-</tr>
-<tr class="rowColor">
<td class="colFirst"><a href="../../../../org/apache/commons/scxml2/WildcardTest.html" title="class in org.apache.commons.scxml2">WildcardTest</a></td>
<td class="colLast">
<div class="block">Unit tests <a href="../../../../../apidocs/org/apache/commons/scxml2/SCXMLExecutor.html?is-external=true" title="class or interface in org.apache.commons.scxml2"><code>SCXMLExecutor</code></a>.</div>
</td>
</tr>
-<tr class="altColor">
+<tr class="rowColor">
<td class="colFirst"><a href="../../../../org/apache/commons/scxml2/WizardsTest.html" title="class in org.apache.commons.scxml2">WizardsTest</a></td>
<td class="colLast">
<div class="block">Unit tests <a href="../../../../../apidocs/org/apache/commons/scxml2/SCXMLExecutor.html?is-external=true" title="class or interface in org.apache.commons.scxml2"><code>SCXMLExecutor</code></a>.</div>
Modified: websites/production/commons/content/proper/commons-scxml/testapidocs/org/apache/commons/scxml2/package-tree.html
==============================================================================
--- websites/production/commons/content/proper/commons-scxml/testapidocs/org/apache/commons/scxml2/package-tree.html (original)
+++ websites/production/commons/content/proper/commons-scxml/testapidocs/org/apache/commons/scxml2/package-tree.html Mon Sep 15 13:36:40 2014
@@ -83,7 +83,6 @@
<li type="circle">org.apache.commons.scxml2.<a href="../../../../org/apache/commons/scxml2/StatusTest.html" title="class in org.apache.commons.scxml2"><span class="strong">StatusTest</span></a></li>
<li type="circle">org.apache.commons.scxml2.<a href="../../../../org/apache/commons/scxml2/TieBreakerTest.html" title="class in org.apache.commons.scxml2"><span class="strong">TieBreakerTest</span></a></li>
<li type="circle">org.apache.commons.scxml2.<a href="../../../../org/apache/commons/scxml2/TriggerEventTest.html" title="class in org.apache.commons.scxml2"><span class="strong">TriggerEventTest</span></a></li>
-<li type="circle">org.apache.commons.scxml2.<a href="../../../../org/apache/commons/scxml2/W3CTest.html" title="class in org.apache.commons.scxml2"><span class="strong">W3CTest</span></a></li>
<li type="circle">org.apache.commons.scxml2.<a href="../../../../org/apache/commons/scxml2/WildcardTest.html" title="class in org.apache.commons.scxml2"><span class="strong">WildcardTest</span></a></li>
<li type="circle">org.apache.commons.scxml2.<a href="../../../../org/apache/commons/scxml2/WizardsTest.html" title="class in org.apache.commons.scxml2"><span class="strong">WizardsTest</span></a></li>
</ul>
Modified: websites/production/commons/content/proper/commons-scxml/testapidocs/org/apache/commons/scxml2/semantics/SCXMLSemanticsImplTest.html
==============================================================================
--- websites/production/commons/content/proper/commons-scxml/testapidocs/org/apache/commons/scxml2/semantics/SCXMLSemanticsImplTest.html (original)
+++ websites/production/commons/content/proper/commons-scxml/testapidocs/org/apache/commons/scxml2/semantics/SCXMLSemanticsImplTest.html Mon Sep 15 13:36:40 2014
@@ -154,7 +154,7 @@ extends <a href="http://docs.oracle.com/
<!-- -->
</a>
<h3>Methods inherited from class java.lang.<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></h3>
-<code><a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#clone()" title="class or interface in java.lang">clone</a>, <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#equals(java.lang.Object)" title="class or interface in java.lang">equals</a>, <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#finalize()" title="class or interface in java.lang">finalize</a>, <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#getClass()" title="class or interface in java.lang">getClass</a>, <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#hashCode()" title="class or interface in java.lang">hashCode</a>, <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#notify()" title="class or interface in java.lang">notify</a>, <a href="http://docs.oracle.com/javase/6/docs/api/java/lang
/Object.html?is-external=true#notifyAll()" title="class or interface in java.lang">notifyAll</a>, <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#toString()" title="class or interface in java.lang">toString</a>, <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#wait()" title="class or interface in java.lang">wait</a>, <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#wait(long)" title="class or interface in java.lang">wait</a>, <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#wait(long, int)" title="class or interface in java.lang">wait</a></code></li>
+<code><a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#clone()" title="class or interface in java.lang">clone</a>, <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#equals(java.lang.Object)" title="class or interface in java.lang">equals</a>, <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#finalize()" title="class or interface in java.lang">finalize</a>, <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#getClass()" title="class or interface in java.lang">getClass</a>, <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#hashCode()" title="class or interface in java.lang">hashCode</a>, <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#notify()" title="class or interface in java.lang">notify</a>, <a href="http://docs.oracle.com/javase/6/docs/api/java/lang
/Object.html?is-external=true#notifyAll()" title="class or interface in java.lang">notifyAll</a>, <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#toString()" title="class or interface in java.lang">toString</a>, <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#wait()" title="class or interface in java.lang">wait</a>, <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#wait(long)" title="class or interface in java.lang">wait</a>, <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#wait(long,%20int)" title="class or interface in java.lang">wait</a></code></li>
</ul>
</li>
</ul>
Modified: websites/production/commons/content/proper/commons-scxml/testapidocs/overview-tree.html
==============================================================================
--- websites/production/commons/content/proper/commons-scxml/testapidocs/overview-tree.html (original)
+++ websites/production/commons/content/proper/commons-scxml/testapidocs/overview-tree.html Mon Sep 15 13:36:40 2014
@@ -180,16 +180,10 @@
<li type="circle">org.apache.commons.scxml2.env.jexl.<a href="org/apache/commons/scxml2/env/jexl/StaticMethodTest.html" title="class in org.apache.commons.scxml2.env.jexl"><span class="strong">StaticMethodTest</span></a></li>
<li type="circle">org.apache.commons.scxml2.<a href="org/apache/commons/scxml2/StatusTest.html" title="class in org.apache.commons.scxml2"><span class="strong">StatusTest</span></a></li>
<li type="circle">org.apache.commons.scxml2.env.<a href="org/apache/commons/scxml2/env/StopWatchTest.html" title="class in org.apache.commons.scxml2.env"><span class="strong">StopWatchTest</span></a></li>
-<li type="circle">java.lang.<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Thread.html?is-external=true" title="class or interface in java.lang"><span class="strong">Thread</span></a> (implements java.lang.<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Runnable.html?is-external=true" title="class or interface in java.lang">Runnable</a>)
-<ul>
-<li type="circle">org.apache.commons.scxml2.env.<a href="org/apache/commons/scxml2/env/SCXMLGuiListener.html" title="class in org.apache.commons.scxml2.env"><span class="strong">SCXMLGuiListener</span></a> (implements org.apache.commons.scxml2.<a href="../apidocs/org/apache/commons/scxml2/SCXMLListener.html?is-external=true" title="class or interface in org.apache.commons.scxml2">SCXMLListener</a>)</li>
-</ul>
-</li>
<li type="circle">org.apache.commons.scxml2.<a href="org/apache/commons/scxml2/TieBreakerTest.html" title="class in org.apache.commons.scxml2"><span class="strong">TieBreakerTest</span></a></li>
<li type="circle">org.apache.commons.scxml2.model.<a href="org/apache/commons/scxml2/model/TransitionTargetTest.html" title="class in org.apache.commons.scxml2.model"><span class="strong">TransitionTargetTest</span></a></li>
<li type="circle">org.apache.commons.scxml2.model.<a href="org/apache/commons/scxml2/model/TransitionTest.html" title="class in org.apache.commons.scxml2.model"><span class="strong">TransitionTest</span></a></li>
<li type="circle">org.apache.commons.scxml2.<a href="org/apache/commons/scxml2/TriggerEventTest.html" title="class in org.apache.commons.scxml2"><span class="strong">TriggerEventTest</span></a></li>
-<li type="circle">org.apache.commons.scxml2.<a href="org/apache/commons/scxml2/W3CTest.html" title="class in org.apache.commons.scxml2"><span class="strong">W3CTest</span></a></li>
<li type="circle">org.apache.commons.scxml2.<a href="org/apache/commons/scxml2/WildcardTest.html" title="class in org.apache.commons.scxml2"><span class="strong">WildcardTest</span></a></li>
<li type="circle">org.apache.commons.scxml2.<a href="org/apache/commons/scxml2/WizardsTest.html" title="class in org.apache.commons.scxml2"><span class="strong">WizardsTest</span></a></li>
<li type="circle">org.apache.commons.scxml2.env.xpath.<a href="org/apache/commons/scxml2/env/xpath/XPathExampleTest.html" title="class in org.apache.commons.scxml2.env.xpath"><span class="strong">XPathExampleTest</span></a></li>
Modified: websites/production/commons/content/proper/commons-scxml/testapidocs/serialized-form.html
==============================================================================
--- websites/production/commons/content/proper/commons-scxml/testapidocs/serialized-form.html (original)
+++ websites/production/commons/content/proper/commons-scxml/testapidocs/serialized-form.html Mon Sep 15 13:36:40 2014
@@ -105,6 +105,10 @@
<pre><a href="../apidocs/org/apache/commons/scxml2/Status.html?is-external=true" title="class or interface in org.apache.commons.scxml2">Status</a> currentStatus</pre>
</li>
<li class="blockList">
+<h4>running</h4>
+<pre>boolean running</pre>
+</li>
+<li class="blockList">
<h4>contexts</h4>
<pre><a href="http://docs.oracle.com/javase/6/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</a><<a href="http://docs.oracle.com/javase/6/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">K</a>,<a href="http://docs.oracle.com/javase/6/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">V</a>> contexts</pre>
</li>
Modified: websites/production/commons/content/proper/commons-scxml/testapidocs/src-html/org/apache/commons/scxml2/SCInstanceTest.html
==============================================================================
--- websites/production/commons/content/proper/commons-scxml/testapidocs/src-html/org/apache/commons/scxml2/SCInstanceTest.html (original)
+++ websites/production/commons/content/proper/commons-scxml/testapidocs/src-html/org/apache/commons/scxml2/SCInstanceTest.html Mon Sep 15 13:36:40 2014
@@ -152,7 +152,7 @@
<span class="sourceLineNo">144</span> <a name="line.144"></a>
<span class="sourceLineNo">145</span> @Test<a name="line.145"></a>
<span class="sourceLineNo">146</span> public void testIsEmpty() {<a name="line.146"></a>
-<span class="sourceLineNo">147</span> Assert.assertTrue(instance.isEmpty(new History()));<a name="line.147"></a>
+<span class="sourceLineNo">147</span> Assert.assertTrue(instance.getLastConfiguration(new History()).isEmpty());<a name="line.147"></a>
<span class="sourceLineNo">148</span> }<a name="line.148"></a>
<span class="sourceLineNo">149</span> <a name="line.149"></a>
<span class="sourceLineNo">150</span> @Test<a name="line.150"></a>
@@ -166,7 +166,7 @@
<span class="sourceLineNo">158</span> <a name="line.158"></a>
<span class="sourceLineNo">159</span> instance.setLastConfiguration(history, configuration); <a name="line.159"></a>
<span class="sourceLineNo">160</span><a name="line.160"></a>
-<span class="sourceLineNo">161</span> Assert.assertFalse(instance.isEmpty(history));<a name="line.161"></a>
+<span class="sourceLineNo">161</span> Assert.assertFalse(instance.getLastConfiguration(history).isEmpty());<a name="line.161"></a>
<span class="sourceLineNo">162</span> }<a name="line.162"></a>
<span class="sourceLineNo">163</span> <a name="line.163"></a>
<span class="sourceLineNo">164</span> @Test<a name="line.164"></a>
@@ -180,9 +180,9 @@
<span class="sourceLineNo">172</span> <a name="line.172"></a>
<span class="sourceLineNo">173</span> instance.setLastConfiguration(history, configuration); <a name="line.173"></a>
<span class="sourceLineNo">174</span><a name="line.174"></a>
-<span class="sourceLineNo">175</span> instance.reset(history);<a name="line.175"></a>
+<span class="sourceLineNo">175</span> instance.resetConfiguration(history);<a name="line.175"></a>
<span class="sourceLineNo">176</span> <a name="line.176"></a>
-<span class="sourceLineNo">177</span> Assert.assertTrue(instance.isEmpty(history));<a name="line.177"></a>
+<span class="sourceLineNo">177</span> Assert.assertTrue(instance.getLastConfiguration(history).isEmpty());<a name="line.177"></a>
<span class="sourceLineNo">178</span> }<a name="line.178"></a>
<span class="sourceLineNo">179</span> <a name="line.179"></a>
<span class="sourceLineNo">180</span>}<a name="line.180"></a>
Modified: websites/production/commons/content/proper/commons-scxml/testapidocs/src-html/org/apache/commons/scxml2/env/StopWatch.html
==============================================================================
--- websites/production/commons/content/proper/commons-scxml/testapidocs/src-html/org/apache/commons/scxml2/env/StopWatch.html (original)
+++ websites/production/commons/content/proper/commons-scxml/testapidocs/src-html/org/apache/commons/scxml2/env/StopWatch.html Mon Sep 15 13:36:40 2014
@@ -28,118 +28,115 @@
<span class="sourceLineNo">020</span>import java.util.TimerTask;<a name="line.20"></a>
<span class="sourceLineNo">021</span><a name="line.21"></a>
<span class="sourceLineNo">022</span>import org.apache.commons.scxml2.model.ModelException;<a name="line.22"></a>
-<span class="sourceLineNo">023</span><a name="line.23"></a>
-<span class="sourceLineNo">024</span>/**<a name="line.24"></a>
-<span class="sourceLineNo">025</span> * A SCXML document driven stop watch.<a name="line.25"></a>
-<span class="sourceLineNo">026</span> *<a name="line.26"></a>
-<span class="sourceLineNo">027</span> * Using SCXML makes the StopWatch class simplistic; you are neither<a name="line.27"></a>
-<span class="sourceLineNo">028</span> * managing the stopwatch "lifecycle" nor coding any "transitions",<a name="line.28"></a>
-<span class="sourceLineNo">029</span> * that information is pulled in straight from the behavioral model<a name="line.29"></a>
-<span class="sourceLineNo">030</span> * of the stop watch, which is encapsulated in the SCXML document<a name="line.30"></a>
-<span class="sourceLineNo">031</span> * the constructor points to (which in turn may be generated straight<a name="line.31"></a>
-<span class="sourceLineNo">032</span> * from the UML model).<a name="line.32"></a>
-<span class="sourceLineNo">033</span> */<a name="line.33"></a>
-<span class="sourceLineNo">034</span>public class StopWatch extends AbstractStateMachine {<a name="line.34"></a>
-<span class="sourceLineNo">035</span><a name="line.35"></a>
-<span class="sourceLineNo">036</span> /** The events for the stop watch. */<a name="line.36"></a>
-<span class="sourceLineNo">037</span> public static final String EVENT_START = "watch.start",<a name="line.37"></a>
-<span class="sourceLineNo">038</span> EVENT_STOP = "watch.stop", EVENT_SPLIT = "watch.split",<a name="line.38"></a>
-<span class="sourceLineNo">039</span> EVENT_UNSPLIT = "watch.unsplit", EVENT_RESET = "watch.reset";<a name="line.39"></a>
-<span class="sourceLineNo">040</span><a name="line.40"></a>
-<span class="sourceLineNo">041</span> /** The fragments of the elapsed time. */<a name="line.41"></a>
-<span class="sourceLineNo">042</span> private int hr, min, sec, fract;<a name="line.42"></a>
-<span class="sourceLineNo">043</span> /** The fragments of the display time. */<a name="line.43"></a>
-<span class="sourceLineNo">044</span> private int dhr, dmin, dsec, dfract;<a name="line.44"></a>
-<span class="sourceLineNo">045</span> /** The stopwatch "split" (display freeze). */<a name="line.45"></a>
-<span class="sourceLineNo">046</span> private boolean split;<a name="line.46"></a>
-<span class="sourceLineNo">047</span> /** The Timer to keep time. */<a name="line.47"></a>
-<span class="sourceLineNo">048</span> private Timer timer;<a name="line.48"></a>
-<span class="sourceLineNo">049</span> /** The display decorations. */<a name="line.49"></a>
-<span class="sourceLineNo">050</span> private static final String DELIM = ":", DOT = ".", EMPTY = "", ZERO = "0";<a name="line.50"></a>
-<span class="sourceLineNo">051</span><a name="line.51"></a>
-<span class="sourceLineNo">052</span> public StopWatch() throws ModelException {<a name="line.52"></a>
-<span class="sourceLineNo">053</span> super(StopWatch.class.getClassLoader().<a name="line.53"></a>
-<span class="sourceLineNo">054</span> getResource("org/apache/commons/scxml2/env/stopwatch.xml"));<a name="line.54"></a>
-<span class="sourceLineNo">055</span> }<a name="line.55"></a>
-<span class="sourceLineNo">056</span><a name="line.56"></a>
-<span class="sourceLineNo">057</span> protected void initialize() {<a name="line.57"></a>
-<span class="sourceLineNo">058</span> getEngine().addListener(getEngine().getStateMachine(),new SCXMLGuiListener("localhost", 5000));<a name="line.58"></a>
-<span class="sourceLineNo">059</span> }<a name="line.59"></a>
-<span class="sourceLineNo">060</span><a name="line.60"></a>
-<span class="sourceLineNo">061</span> // Each method below is the activity corresponding to a state in the<a name="line.61"></a>
-<span class="sourceLineNo">062</span> // SCXML document (see class constructor for pointer to the document).<a name="line.62"></a>
-<span class="sourceLineNo">063</span> public void reset() {<a name="line.63"></a>
-<span class="sourceLineNo">064</span> hr = min = sec = fract = dhr = dmin = dsec = dfract = 0;<a name="line.64"></a>
-<span class="sourceLineNo">065</span> split = false;<a name="line.65"></a>
-<span class="sourceLineNo">066</span> }<a name="line.66"></a>
-<span class="sourceLineNo">067</span><a name="line.67"></a>
-<span class="sourceLineNo">068</span> public void running() {<a name="line.68"></a>
-<span class="sourceLineNo">069</span> split = false;<a name="line.69"></a>
-<span class="sourceLineNo">070</span> if (timer == null) {<a name="line.70"></a>
-<span class="sourceLineNo">071</span> timer = new Timer(true);<a name="line.71"></a>
-<span class="sourceLineNo">072</span> timer.scheduleAtFixedRate(new TimerTask() {<a name="line.72"></a>
-<span class="sourceLineNo">073</span> @Override<a name="line.73"></a>
-<span class="sourceLineNo">074</span> public void run() {<a name="line.74"></a>
-<span class="sourceLineNo">075</span> increment();<a name="line.75"></a>
-<span class="sourceLineNo">076</span> }<a name="line.76"></a>
-<span class="sourceLineNo">077</span> }, 100, 100);<a name="line.77"></a>
-<span class="sourceLineNo">078</span> }<a name="line.78"></a>
-<span class="sourceLineNo">079</span> }<a name="line.79"></a>
-<span class="sourceLineNo">080</span><a name="line.80"></a>
-<span class="sourceLineNo">081</span> public void paused() {<a name="line.81"></a>
-<span class="sourceLineNo">082</span> split = true;<a name="line.82"></a>
-<span class="sourceLineNo">083</span> }<a name="line.83"></a>
-<span class="sourceLineNo">084</span><a name="line.84"></a>
-<span class="sourceLineNo">085</span> public void stopped() {<a name="line.85"></a>
-<span class="sourceLineNo">086</span> timer.cancel();<a name="line.86"></a>
-<span class="sourceLineNo">087</span> timer = null;<a name="line.87"></a>
-<span class="sourceLineNo">088</span> }<a name="line.88"></a>
-<span class="sourceLineNo">089</span><a name="line.89"></a>
-<span class="sourceLineNo">090</span> public String getDisplay() {<a name="line.90"></a>
-<span class="sourceLineNo">091</span> String padhr = dhr > 9 ? EMPTY : ZERO;<a name="line.91"></a>
-<span class="sourceLineNo">092</span> String padmin = dmin > 9 ? EMPTY : ZERO;<a name="line.92"></a>
-<span class="sourceLineNo">093</span> String padsec = dsec > 9 ? EMPTY : ZERO;<a name="line.93"></a>
-<span class="sourceLineNo">094</span> return new StringBuffer().append(padhr).append(dhr).append(DELIM).<a name="line.94"></a>
-<span class="sourceLineNo">095</span> append(padmin).append(dmin).append(DELIM).append(padsec).<a name="line.95"></a>
-<span class="sourceLineNo">096</span> append(dsec).append(DOT).append(dfract).toString();<a name="line.96"></a>
-<span class="sourceLineNo">097</span> }<a name="line.97"></a>
-<span class="sourceLineNo">098</span><a name="line.98"></a>
-<span class="sourceLineNo">099</span> // used by the demonstration (see StopWatchDisplay usecase)<a name="line.99"></a>
-<span class="sourceLineNo">100</span> public String getCurrentState() {<a name="line.100"></a>
-<span class="sourceLineNo">101</span> return getEngine().getCurrentStatus().getStates().iterator().next().getId();<a name="line.101"></a>
-<span class="sourceLineNo">102</span> }<a name="line.102"></a>
-<span class="sourceLineNo">103</span><a name="line.103"></a>
-<span class="sourceLineNo">104</span> private void increment() {<a name="line.104"></a>
-<span class="sourceLineNo">105</span> if (fract < 9) {<a name="line.105"></a>
-<span class="sourceLineNo">106</span> fract++;<a name="line.106"></a>
-<span class="sourceLineNo">107</span> } else {<a name="line.107"></a>
-<span class="sourceLineNo">108</span> fract = 0;<a name="line.108"></a>
-<span class="sourceLineNo">109</span> if (sec < 59) {<a name="line.109"></a>
-<span class="sourceLineNo">110</span> sec++;<a name="line.110"></a>
-<span class="sourceLineNo">111</span> } else {<a name="line.111"></a>
-<span class="sourceLineNo">112</span> sec = 0;<a name="line.112"></a>
-<span class="sourceLineNo">113</span> if (min < 59) {<a name="line.113"></a>
-<span class="sourceLineNo">114</span> min++;<a name="line.114"></a>
-<span class="sourceLineNo">115</span> } else {<a name="line.115"></a>
-<span class="sourceLineNo">116</span> min = 0;<a name="line.116"></a>
-<span class="sourceLineNo">117</span> if (hr < 99) {<a name="line.117"></a>
-<span class="sourceLineNo">118</span> hr++;<a name="line.118"></a>
-<span class="sourceLineNo">119</span> } else {<a name="line.119"></a>
-<span class="sourceLineNo">120</span> hr = 0; //wrap<a name="line.120"></a>
-<span class="sourceLineNo">121</span> }<a name="line.121"></a>
-<span class="sourceLineNo">122</span> }<a name="line.122"></a>
-<span class="sourceLineNo">123</span> }<a name="line.123"></a>
-<span class="sourceLineNo">124</span> }<a name="line.124"></a>
-<span class="sourceLineNo">125</span> if (!split) {<a name="line.125"></a>
-<span class="sourceLineNo">126</span> dhr = hr;<a name="line.126"></a>
-<span class="sourceLineNo">127</span> dmin = min;<a name="line.127"></a>
-<span class="sourceLineNo">128</span> dsec = sec;<a name="line.128"></a>
-<span class="sourceLineNo">129</span> dfract = fract;<a name="line.129"></a>
-<span class="sourceLineNo">130</span> }<a name="line.130"></a>
-<span class="sourceLineNo">131</span> }<a name="line.131"></a>
-<span class="sourceLineNo">132</span><a name="line.132"></a>
-<span class="sourceLineNo">133</span>}<a name="line.133"></a>
-<span class="sourceLineNo">134</span><a name="line.134"></a>
+<span class="sourceLineNo">023</span>import org.apache.commons.scxml2.model.TransitionTarget;<a name="line.23"></a>
+<span class="sourceLineNo">024</span><a name="line.24"></a>
+<span class="sourceLineNo">025</span>/**<a name="line.25"></a>
+<span class="sourceLineNo">026</span> * A SCXML document driven stop watch.<a name="line.26"></a>
+<span class="sourceLineNo">027</span> *<a name="line.27"></a>
+<span class="sourceLineNo">028</span> * Using SCXML makes the StopWatch class simplistic; you are neither<a name="line.28"></a>
+<span class="sourceLineNo">029</span> * managing the stopwatch "lifecycle" nor coding any "transitions",<a name="line.29"></a>
+<span class="sourceLineNo">030</span> * that information is pulled in straight from the behavioral model<a name="line.30"></a>
+<span class="sourceLineNo">031</span> * of the stop watch, which is encapsulated in the SCXML document<a name="line.31"></a>
+<span class="sourceLineNo">032</span> * the constructor points to (which in turn may be generated straight<a name="line.32"></a>
+<span class="sourceLineNo">033</span> * from the UML model).<a name="line.33"></a>
+<span class="sourceLineNo">034</span> */<a name="line.34"></a>
+<span class="sourceLineNo">035</span>public class StopWatch extends AbstractStateMachine {<a name="line.35"></a>
+<span class="sourceLineNo">036</span><a name="line.36"></a>
+<span class="sourceLineNo">037</span> /** The events for the stop watch. */<a name="line.37"></a>
+<span class="sourceLineNo">038</span> public static final String EVENT_START = "watch.start",<a name="line.38"></a>
+<span class="sourceLineNo">039</span> EVENT_STOP = "watch.stop", EVENT_SPLIT = "watch.split",<a name="line.39"></a>
+<span class="sourceLineNo">040</span> EVENT_UNSPLIT = "watch.unsplit", EVENT_RESET = "watch.reset";<a name="line.40"></a>
+<span class="sourceLineNo">041</span><a name="line.41"></a>
+<span class="sourceLineNo">042</span> /** The fragments of the elapsed time. */<a name="line.42"></a>
+<span class="sourceLineNo">043</span> private int hr, min, sec, fract;<a name="line.43"></a>
+<span class="sourceLineNo">044</span> /** The fragments of the display time. */<a name="line.44"></a>
+<span class="sourceLineNo">045</span> private int dhr, dmin, dsec, dfract;<a name="line.45"></a>
+<span class="sourceLineNo">046</span> /** The stopwatch "split" (display freeze). */<a name="line.46"></a>
+<span class="sourceLineNo">047</span> private boolean split;<a name="line.47"></a>
+<span class="sourceLineNo">048</span> /** The Timer to keep time. */<a name="line.48"></a>
+<span class="sourceLineNo">049</span> private Timer timer;<a name="line.49"></a>
+<span class="sourceLineNo">050</span> /** The display decorations. */<a name="line.50"></a>
+<span class="sourceLineNo">051</span> private static final String DELIM = ":", DOT = ".", EMPTY = "", ZERO = "0";<a name="line.51"></a>
+<span class="sourceLineNo">052</span><a name="line.52"></a>
+<span class="sourceLineNo">053</span> public StopWatch() throws ModelException {<a name="line.53"></a>
+<span class="sourceLineNo">054</span> super(StopWatch.class.getClassLoader().<a name="line.54"></a>
+<span class="sourceLineNo">055</span> getResource("org/apache/commons/scxml2/env/stopwatch.xml"));<a name="line.55"></a>
+<span class="sourceLineNo">056</span> }<a name="line.56"></a>
+<span class="sourceLineNo">057</span><a name="line.57"></a>
+<span class="sourceLineNo">058</span> // Each method below is the activity corresponding to a state in the<a name="line.58"></a>
+<span class="sourceLineNo">059</span> // SCXML document (see class constructor for pointer to the document).<a name="line.59"></a>
+<span class="sourceLineNo">060</span> public void reset() {<a name="line.60"></a>
+<span class="sourceLineNo">061</span> hr = min = sec = fract = dhr = dmin = dsec = dfract = 0;<a name="line.61"></a>
+<span class="sourceLineNo">062</span> split = false;<a name="line.62"></a>
+<span class="sourceLineNo">063</span> }<a name="line.63"></a>
+<span class="sourceLineNo">064</span><a name="line.64"></a>
+<span class="sourceLineNo">065</span> public void running() {<a name="line.65"></a>
+<span class="sourceLineNo">066</span> split = false;<a name="line.66"></a>
+<span class="sourceLineNo">067</span> if (timer == null) {<a name="line.67"></a>
+<span class="sourceLineNo">068</span> timer = new Timer(true);<a name="line.68"></a>
+<span class="sourceLineNo">069</span> timer.scheduleAtFixedRate(new TimerTask() {<a name="line.69"></a>
+<span class="sourceLineNo">070</span> @Override<a name="line.70"></a>
+<span class="sourceLineNo">071</span> public void run() {<a name="line.71"></a>
+<span class="sourceLineNo">072</span> increment();<a name="line.72"></a>
+<span class="sourceLineNo">073</span> }<a name="line.73"></a>
+<span class="sourceLineNo">074</span> }, 100, 100);<a name="line.74"></a>
+<span class="sourceLineNo">075</span> }<a name="line.75"></a>
+<span class="sourceLineNo">076</span> }<a name="line.76"></a>
+<span class="sourceLineNo">077</span><a name="line.77"></a>
+<span class="sourceLineNo">078</span> public void paused() {<a name="line.78"></a>
+<span class="sourceLineNo">079</span> split = true;<a name="line.79"></a>
+<span class="sourceLineNo">080</span> }<a name="line.80"></a>
+<span class="sourceLineNo">081</span><a name="line.81"></a>
+<span class="sourceLineNo">082</span> public void stopped() {<a name="line.82"></a>
+<span class="sourceLineNo">083</span> timer.cancel();<a name="line.83"></a>
+<span class="sourceLineNo">084</span> timer = null;<a name="line.84"></a>
+<span class="sourceLineNo">085</span> }<a name="line.85"></a>
+<span class="sourceLineNo">086</span><a name="line.86"></a>
+<span class="sourceLineNo">087</span> public String getDisplay() {<a name="line.87"></a>
+<span class="sourceLineNo">088</span> String padhr = dhr > 9 ? EMPTY : ZERO;<a name="line.88"></a>
+<span class="sourceLineNo">089</span> String padmin = dmin > 9 ? EMPTY : ZERO;<a name="line.89"></a>
+<span class="sourceLineNo">090</span> String padsec = dsec > 9 ? EMPTY : ZERO;<a name="line.90"></a>
+<span class="sourceLineNo">091</span> return new StringBuffer().append(padhr).append(dhr).append(DELIM).<a name="line.91"></a>
+<span class="sourceLineNo">092</span> append(padmin).append(dmin).append(DELIM).append(padsec).<a name="line.92"></a>
+<span class="sourceLineNo">093</span> append(dsec).append(DOT).append(dfract).toString();<a name="line.93"></a>
+<span class="sourceLineNo">094</span> }<a name="line.94"></a>
+<span class="sourceLineNo">095</span><a name="line.95"></a>
+<span class="sourceLineNo">096</span> // used by the demonstration (see StopWatchDisplay usecase)<a name="line.96"></a>
+<span class="sourceLineNo">097</span> public String getCurrentState() {<a name="line.97"></a>
+<span class="sourceLineNo">098</span> return getEngine().getCurrentStatus().getStates().iterator().next().getId();<a name="line.98"></a>
+<span class="sourceLineNo">099</span> }<a name="line.99"></a>
+<span class="sourceLineNo">100</span><a name="line.100"></a>
+<span class="sourceLineNo">101</span> private void increment() {<a name="line.101"></a>
+<span class="sourceLineNo">102</span> if (fract < 9) {<a name="line.102"></a>
+<span class="sourceLineNo">103</span> fract++;<a name="line.103"></a>
+<span class="sourceLineNo">104</span> } else {<a name="line.104"></a>
+<span class="sourceLineNo">105</span> fract = 0;<a name="line.105"></a>
+<span class="sourceLineNo">106</span> if (sec < 59) {<a name="line.106"></a>
+<span class="sourceLineNo">107</span> sec++;<a name="line.107"></a>
+<span class="sourceLineNo">108</span> } else {<a name="line.108"></a>
+<span class="sourceLineNo">109</span> sec = 0;<a name="line.109"></a>
+<span class="sourceLineNo">110</span> if (min < 59) {<a name="line.110"></a>
+<span class="sourceLineNo">111</span> min++;<a name="line.111"></a>
+<span class="sourceLineNo">112</span> } else {<a name="line.112"></a>
+<span class="sourceLineNo">113</span> min = 0;<a name="line.113"></a>
+<span class="sourceLineNo">114</span> if (hr < 99) {<a name="line.114"></a>
+<span class="sourceLineNo">115</span> hr++;<a name="line.115"></a>
+<span class="sourceLineNo">116</span> } else {<a name="line.116"></a>
+<span class="sourceLineNo">117</span> hr = 0; //wrap<a name="line.117"></a>
+<span class="sourceLineNo">118</span> }<a name="line.118"></a>
+<span class="sourceLineNo">119</span> }<a name="line.119"></a>
+<span class="sourceLineNo">120</span> }<a name="line.120"></a>
+<span class="sourceLineNo">121</span> }<a name="line.121"></a>
+<span class="sourceLineNo">122</span> if (!split) {<a name="line.122"></a>
+<span class="sourceLineNo">123</span> dhr = hr;<a name="line.123"></a>
+<span class="sourceLineNo">124</span> dmin = min;<a name="line.124"></a>
+<span class="sourceLineNo">125</span> dsec = sec;<a name="line.125"></a>
+<span class="sourceLineNo">126</span> dfract = fract;<a name="line.126"></a>
+<span class="sourceLineNo">127</span> }<a name="line.127"></a>
+<span class="sourceLineNo">128</span> }<a name="line.128"></a>
+<span class="sourceLineNo">129</span><a name="line.129"></a>
+<span class="sourceLineNo">130</span>}<a name="line.130"></a>
+<span class="sourceLineNo">131</span><a name="line.131"></a>
Modified: websites/production/commons/content/proper/commons-scxml/usecases.html
==============================================================================
--- websites/production/commons/content/proper/commons-scxml/usecases.html (original)
+++ websites/production/commons/content/proper/commons-scxml/usecases.html Mon Sep 15 13:36:40 2014
@@ -1,6 +1,6 @@
<!DOCTYPE html>
<!--
- | Generated by Apache Maven Doxia at 06 April 2014
+ | Generated by Apache Maven Doxia at 15 September 2014
| Rendered using Apache Maven Fluido Skin 1.3.0
-->
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
@@ -8,7 +8,7 @@
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta name="author" content="Commons Documentation Team" />
- <meta name="Date-Revision-yyyymmdd" content="20140406" />
+ <meta name="Date-Revision-yyyymmdd" content="20140915" />
<meta http-equiv="Content-Language" content="en" />
<title>SCXML -
Commons SCXML Usecases</title>
@@ -45,7 +45,7 @@
<a class="brand" href="http://commons.apache.org/proper/commons-scxml/">Apache Commons SCXML ™</a>
<ul class="nav">
- <li id="publishDate">Last Published: 06 April 2014</li>
+ <li id="publishDate">Last Published: 15 September 2014</li>
<li class="divider">|</li> <li id="projectVersion">Version: 2.0-SNAPSHOT</li>
</ul>
<div class="pull-right"> <ul class="nav">
Modified: websites/production/commons/content/proper/commons-scxml/usecases/scxml-stopwatch.html
==============================================================================
--- websites/production/commons/content/proper/commons-scxml/usecases/scxml-stopwatch.html (original)
+++ websites/production/commons/content/proper/commons-scxml/usecases/scxml-stopwatch.html Mon Sep 15 13:36:40 2014
@@ -1,6 +1,6 @@
<!DOCTYPE html>
<!--
- | Generated by Apache Maven Doxia at 06 April 2014
+ | Generated by Apache Maven Doxia at 15 September 2014
| Rendered using Apache Maven Fluido Skin 1.3.0
-->
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
@@ -8,7 +8,7 @@
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta name="author" content="Commons Documentation Team" />
- <meta name="Date-Revision-yyyymmdd" content="20140406" />
+ <meta name="Date-Revision-yyyymmdd" content="20140915" />
<meta http-equiv="Content-Language" content="en" />
<title>SCXML -
Commons SCXML Usecases - Stopwatch</title>
@@ -45,7 +45,7 @@
<a class="brand" href="http://commons.apache.org/proper/commons-scxml/">Apache Commons SCXML ™</a>
<ul class="nav">
- <li id="publishDate">Last Published: 06 April 2014</li>
+ <li id="publishDate">Last Published: 15 September 2014</li>
<li class="divider">|</li> <li id="projectVersion">Version: 2.0-SNAPSHOT</li>
</ul>
<div class="pull-right"> <ul class="nav">
Modified: websites/production/commons/content/proper/commons-scxml/xref-test/allclasses-frame.html
==============================================================================
--- websites/production/commons/content/proper/commons-scxml/xref-test/allclasses-frame.html (original)
+++ websites/production/commons/content/proper/commons-scxml/xref-test/allclasses-frame.html Mon Sep 15 13:36:40 2014
@@ -138,9 +138,6 @@
<a href="org/apache/commons/scxml2/SCXMLExecutorTest.html" target="classFrame">SCXMLExecutorTest</a>
</li>
<li>
- <a href="org/apache/commons/scxml2/env/SCXMLGuiListener.html" target="classFrame">SCXMLGuiListener</a>
- </li>
- <li>
<a href="org/apache/commons/scxml2/io/SCXMLReaderTest.html" target="classFrame">SCXMLReaderTest</a>
</li>
<li>
@@ -210,9 +207,6 @@
<a href="org/apache/commons/scxml2/TriggerEventTest.html" target="classFrame">TriggerEventTest</a>
</li>
<li>
- <a href="org/apache/commons/scxml2/W3CTest.html" target="classFrame">W3CTest</a>
- </li>
- <li>
<a href="org/apache/commons/scxml2/env/StopWatchDisplay.html" target="classFrame">WatchPanel</a>
</li>
<li>
Modified: websites/production/commons/content/proper/commons-scxml/xref-test/org/apache/commons/scxml2/SCInstanceTest.html
==============================================================================
--- websites/production/commons/content/proper/commons-scxml/xref-test/org/apache/commons/scxml2/SCInstanceTest.html (original)
+++ websites/production/commons/content/proper/commons-scxml/xref-test/org/apache/commons/scxml2/SCInstanceTest.html Mon Sep 15 13:36:40 2014
@@ -152,7 +152,7 @@
<a class="jxr_linenumber" name="L144" href="#L144">144</a>
<a class="jxr_linenumber" name="L145" href="#L145">145</a> @Test
<a class="jxr_linenumber" name="L146" href="#L146">146</a> <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">void</strong> testIsEmpty() {
-<a class="jxr_linenumber" name="L147" href="#L147">147</a> Assert.assertTrue(instance.isEmpty(<strong class="jxr_keyword">new</strong> History()));
+<a class="jxr_linenumber" name="L147" href="#L147">147</a> Assert.assertTrue(instance.getLastConfiguration(<strong class="jxr_keyword">new</strong> History()).isEmpty());
<a class="jxr_linenumber" name="L148" href="#L148">148</a> }
<a class="jxr_linenumber" name="L149" href="#L149">149</a>
<a class="jxr_linenumber" name="L150" href="#L150">150</a> @Test
@@ -166,7 +166,7 @@
<a class="jxr_linenumber" name="L158" href="#L158">158</a>
<a class="jxr_linenumber" name="L159" href="#L159">159</a> instance.setLastConfiguration(history, configuration);
<a class="jxr_linenumber" name="L160" href="#L160">160</a>
-<a class="jxr_linenumber" name="L161" href="#L161">161</a> Assert.assertFalse(instance.isEmpty(history));
+<a class="jxr_linenumber" name="L161" href="#L161">161</a> Assert.assertFalse(instance.getLastConfiguration(history).isEmpty());
<a class="jxr_linenumber" name="L162" href="#L162">162</a> }
<a class="jxr_linenumber" name="L163" href="#L163">163</a>
<a class="jxr_linenumber" name="L164" href="#L164">164</a> @Test
@@ -180,9 +180,9 @@
<a class="jxr_linenumber" name="L172" href="#L172">172</a>
<a class="jxr_linenumber" name="L173" href="#L173">173</a> instance.setLastConfiguration(history, configuration);
<a class="jxr_linenumber" name="L174" href="#L174">174</a>
-<a class="jxr_linenumber" name="L175" href="#L175">175</a> instance.reset(history);
+<a class="jxr_linenumber" name="L175" href="#L175">175</a> instance.resetConfiguration(history);
<a class="jxr_linenumber" name="L176" href="#L176">176</a>
-<a class="jxr_linenumber" name="L177" href="#L177">177</a> Assert.assertTrue(instance.isEmpty(history));
+<a class="jxr_linenumber" name="L177" href="#L177">177</a> Assert.assertTrue(instance.getLastConfiguration(history).isEmpty());
<a class="jxr_linenumber" name="L178" href="#L178">178</a> }
<a class="jxr_linenumber" name="L179" href="#L179">179</a>
<a class="jxr_linenumber" name="L180" href="#L180">180</a> }