[Index]
events:file-watch
Watch for a file and fire an event if/when it exists. A service such
as events:file-watch-service is required to do the actual watching.
Property Summary
file |
The full path of the file to be watched. |
fileWatch |
The service that provides the file watching ability. |
lastModified |
The last modified time of the file. |
name |
A name, can be any text. |
Example Summary
Property Detail
file
Configured By | ELEMENT |
Access | READ_WRITE |
Required | Yes. |
The full path of the file to be watched.
fileWatch
Configured By | ELEMENT |
Access | READ_WRITE |
Required | Yes. |
The service that provides the file watching ability.
lastModified
Access | READ_ONLY |
Required | R/O. |
The last modified time of the file. Event where the file has the same
last modified time will be ignored.
name
Configured By | ATTRIBUTE |
Access | READ_WRITE |
Required | No. |
A name, can be any text.
Examples
Example 1
See events:file-watch-service.
(c) R Gordon Ltd 2005 - Present