${req()}
Returns the value of the specified attribute from the TaskRequest. An error will occur if the attribute is not present.
The
${req} phrase is the
default phrase implementation in Cernunnos. In other words, it's not necessary to name it explicitly to use it. The expression '
${Attributes.LOCATION}' is preferred, and is equivalent to '
${req(Attributes.LOCATION)}.'
| Name | XPath | Description | Reagent Type | Expected Type | Required |
|---|---|---|---|---|---|
| KEY | descendant-or-self::text() | The name of an attribute defined in the TaskRequest. | PHRASE | java.lang.String | Yes |
| DEFAULT | @default | If specified, this value will be used returned if the named attribute is not present on the request. If a DEFAULT is not specified and the named attribute is not present, an error will occur. | PHRASE | java.lang.String | No |
Copies the document at 'http://www.google.com' to the file system location identified by the first argument on the command line: