Monitor_diff
With this tag you can check which files were added since the moment you created the monitor.
Events
monitor_diff Event
newfiles
List of all the new files.
Required Attributes
id
The unique identifier for this monitor that is being created.
Usage Examples
Example #1
<sequence>
   
<monitor_create file="tests/ut/output/.*" id="LOGS" />
   
<sleep time="3s" />
   
<monitor_diff id="LOGS" />
   
<monitor_destroy id="LOGS" />
   
<createrange name="files" value="${monitor_diff.newfiles}" />
   
<for property="i" range="1..10">
      
<log>new ${files}</log>
   
</for>
</sequence>