...
- <aspect>
- <configuration>
- <lifecycle>
- <scxml>
- <state>
- <datamodel>
- <data>
- <item>
- <permissions>
- <permission>
- <validations>
- <validation forEvent="" class="">
- <parameter>
- <js forEvent="">
- <console function="">
- <script type="text/javascript">
- <server function="">
- <script type="text/javascript">
- <execution forEvent="" class="">
- <parameter name="" value=""/>
- <ui forEvent="" href=""/>
- <transition event="" target=""/>
...
Sample Implementations
...
<validations>
Anchor |
---|
...
|
...
|
XML Syntax | <permission roles=""/> |
---|---|
Description | This element is a child element of the |
Type | |
Default Value | |
Fixed Values | |
Mandatory/Optional |
This element doesn't have any attributes.
...
<validation>
Anchor | ||||
---|---|---|---|---|
|
XML Syntax | |
---|---|
Description | Validations are an important part of lifeCycles. The |
Type | |
Default Value | |
Fixed Values | |
Mandatory/Optional |
...
Attribute | Description | Type | Default Value | Fixed Values | Mandatory/Optional | Notes | roles|
---|---|---|---|---|---|---|---|
forEvent | |||||||
class |
Sample Implementations
<validations>
Info | ||
---|---|---|
| ||
Check Item Validators are one of many well-defined extension points supported by the WSO2 Governance Registry. Read more on Supported Extension Points for a complete list of extension points supported by WSO2 Governance Registry. |
The validations
element defines the validations that need to be completed for each action. This element can contain one or more validation
elements (see below).
<validation forEvent="" class="">
Validations are an important part of lifeCycles. The validation
element defines the event and the validation class that has to be invoked at runtime.
- The
forEvent
attribute - Defines the event for which this validation should be performed. This gives user the flexibility to define validations for each event. The user has the ability to define validations for check items, which makes it easy to validate different things at different levels. - The
class
attribute - Defines the class that needs to be executed at runtime to perform the validation. A user must give the full, qualified name of a class that implements theCustomValidations
interface, as the value of the attributeclass
.
...