You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Next »

On this Page:

Related Pages:

Parameters of Action "status" on Files

NameTypeDirectionDescription
nameStringin

Fully qualified file name of the file/directory you want to read, including the path.

MultiExcerpt named hint_backslash_in_path was not found -- Please check the page name and MultiExcerpt name used in the MultiExcerpt-Include macro

typeStringoutType of accessed element (File or Directory).
sizeIntegeroutSize of the file in Bytes. size will always be 0 for directories.
accessTimeDateTimeoutTimestamp when the file/directory was accessed for the last time.
creationTimeDateTimeoutTimestamp when the file/directory was created.
modificationTimeDateTimeoutTimestamp when the file/directory was modified for the last time.

Defining a "status" Action

To retrieve file information with the file system adapter, you need to define a status action on an action having the stereotype <<FileSystemAdapter>>. You can do this manually (refer to Figure: The Specification Dialog of the File System Adapter) or with the help of the E2E Action Wizard (see context menu of the action node).

You need to define all of the output objects (see table above) with exactly the same names.

Figure: Retrieving File Information

The path and file name of the file you want to retrieve status information from are defined in the component diagram. The link from the activity diagram to the physical information is established by an alias (in the present example: FileAlias). See File System Components for more information on file system aliases.
For information on how to access a file or directory dynamically refer to Dynamic File System Access.
 

  • No labels