- All Implemented Interfaces:
- Runnable
public class FileCheckTask
extends AbstractTask
This task checks some properties relative to the File according to the
following argument:
- SIZE LT/GT/LTE/GTE/EQ number : to check the file size according to a limit
(less than, greater than, less
than or equal, greater than or equal, equal)
- DFCHECK : to check if the future received file size is compatible with the
space left on both working and
received directories (from general configuration or rule configuration)
For instance "SIZE LT 10000000 SIZE GT 1000 DFCHECK" will test that the
current file size is less than 10
MB (base 10), and greater than 1000 bytes, and that the working and received
directories have enough space
to receive the file.