...
- <aspect>
- <configuration>
- <lifecycle>
- <scxml>
- <state>
- <datamodel>
- <data>
- <item>
- <permissions>
- <permission>
- <validations>
- <validation>
- <parameter>
- <js>
- <console>
- <script>
- <server>
- <script type="text/javascript"> <execution forEvent="" class=""> <script>
- <execution>
- <parameter name="" value=""/> <parameter>
- <ui forEvent="" href=""/>
- <transition event="" target=""/>
...
Sample Implementations
...
<Execution>
Anchor |
---|
...
|
...
|
XML Syntax | <server function<execution forEvent="" class=""/> |
---|---|
Description | This is the same as the |
Type | |
Default Value | |
Fixed Values | |
Mandatory/Optional |
...
Attribute | Description | Type | Default Value | Fixed Values | Mandatory/Optional | Notes | function | |
---|---|---|---|---|---|---|---|---|
forEvent | Defines the event for which this execution should be performed. This gives user the flexibility to define executions for each event. | |||||||
class | Defines the class that needs to be executed at runtime. A user must give the full, qualified name of a class that implements the Execution interface, as the value of the attribute class . |
Sample Implementations
...
<Execution>
Anchor | ||||
---|---|---|---|---|
|
XML Syntax | <execution forEvent="" class=""/> |
---|---|
Description | An executor is business logic that is executed once a state transition happens in a lifecycle. The |
...
the execution class that will be invoked at runtime. | |
Type | |
Default Value | |
Fixed Values | |
Mandatory/Optional |
Attributes of the Element
Attribute | Description | Type | Default Value | Fixed Values | Mandatory/Optional | Notes |
---|---|---|---|---|---|---|
forEvent | Defines the event for which this execution should be performed. This gives user the flexibility to define executions for each event. |
...
class | Defines the class that needs to be executed at runtime. A user must give the full, qualified name of a class that implements the Execution interface, as the value of the attribute class . |
Sample Implementations
Back to Top ^
<ui forEvent="" href=""/>
...