Fsmonitor-call

From GreenVulcano Wiki
Revision as of 17:49, 2 February 2012 by Anonymous (talk) (Created page with "This plug-in, when invoked, performs a scan of the directory specified in configuration, and returns a report in XML format (following the schema AnalysisReport.xsd) that can be ...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

This plug-in, when invoked, performs a scan of the directory specified in configuration, and returns a report in XML format (following the schema AnalysisReport.xsd) that can be configured to display any combination of the information listed below:

  • files CREATED in the directory since the last scan performed;
  • files MODIFIED in the directory since the last scan performed;
  • files DELETED from the directory since the last scan performed;
  • files EXISTENT in the directory;


You can restrict the scan to only files whose names conform to a regular expression defined in configuration.

If the invocation of the plug ends with the generation of a report, this report is included in the object field of output GVBuffer.

In the output GVBuffer are also set the following properties:

  • GVFSM_REPORT_CREATED set to true if a report XML and was created.
  • GVFSM_EXISTING_FILES set if the filter existing was configured and in target directory exist files whose name conforms to the pattern specified in configuration. Contains the number of such files.
  • GVFSM_CREATED_FILES set if the filter created was configured and the in target directory, after the last scan performed, were created file whose name is consistent with the pattern specified in the configuration. Contains the number of such files.
  • GVFSM_MODIFIED_FILES set if the filter 'modified' was configured and the in target directory, after the last scan performed, were modified file whose name is consistent with the pattern specified in the configuration. Contains the number of such files.
  • GVFSM_DELETED_FILES set if the filter 'deleted' was configured and the in target directory, after the last scan performed, were deleted file whose name is consistent with the pattern specified in the configuration. Contains the number of such files.


The fsmonitor-call Element is used by Channel and routed-call. It has the following attributes:

  • type: call.
  • class: it.greenvulcano.gvesb.virtual.file.reader.AnalyzeDirCall.
  • name: Operation name. Used in the 'Flow' section to associate workflow nodes to VCL operations.

Its subelements are: