Task definition for the phing task to switch on a particular value.
Table B.60: Attributes
Name | Type | Description | Default | Required |
---|---|---|---|---|
value
|
String
| The value to switch on. | n/a | Yes |
caseinsensitive
|
Boolean
| Should we do case insensitive comparisons? | false | No |
At least one <case>
or <default>
is required.
case
An individual case to consider, if the value that is being switched on matches to value attribute of the case, then the nested tasks will be executed.
Table B.61: Attributes
Name | Type | Description | Default | Required |
---|---|---|---|---|
value
|
String
| The value to match against the tasks value attribute. | n/a | Yes |
default
The default case for when no match is found. Must not appear more than once per task.