Case
The case tag is used in the switch tag and identifies a possible
case to match the property value from the switch tag. If there
is a match then the case children tags will be executed.
Children Tags
Optional Attributes
value
the value to match the property from the switch tag with.
Usage Examples
Example #1
<switch property="${test}">
<case value="1">
<log>Switch case #1</log>
</case>
<case value="2">
<log>Switch case #2</log>
</case>
<default>
<log>Default case called</log>
</default>
</switch>