Diagram
The branch element for reusable transfer configuration. Subsequent fragments are used e.g. for file transfer specifications, notifications, mail server settings, that can be used in a number of file transfer Profiles. A fragment specifies how a file transfer is carried out whereas a Profile specifies what should be transferred. Therefore multiple profiles can use the same fragments, e.g. to transfer different files from the same source or to reuse the same transfer specification as the source and the target in different transfer operations. Fragments are a means to organize file transfer settings in a reusable way: Any number of fragments can be configured. They are distinguished by their name attribute. References to a fragment use the value of the name attribute to identify the respective fragment. Notification fragments are used to specifiy how notifications will be sent to recipients in case of file transfers. Fragments for credential stores are a means to organize secure settings in a reusable way: Any number of fragments can be configured. They are distinguished by their name attribute. References to a fragment use the value of the name attribute to identify the respective fragment. Mail server fragments are used to specifiy by what mail server notifications will be sent to recipients in case of file transfers.
Fragments
Element
Type
Required
Description
ProtocolFragments
Required
Notes
NotificationFragments
Optional
CredentialStoreFragments
Optional
MailServerFragments
Optional
Notes
Explanations
- The Fragments refer to that part of the configuration that describes how the transfer is to be carried out – i.e. per FTP proxy.
- At least a minimum set of ProtocolFragment parameters has to be provided.
ProtocolFragment
- The ProtocolFragment describes how the file transfer is to be carried out – i.e. per FTP proxy.
AlternativeFragments
- Define how the transfer is to be carried out when either the connection or authentication specified in the ProtocolFragment cannot be made.
- AlternativeFragments are not be called after a connection has been made and authenticated and an error occurs.
NotificationFragments
- The NotificationFragments describe how notifications about the transfer are to be transmitted, e.g. by e-mail.
CredentialStoreFragements
- A secure store can be used for credentials, e.g. KeePassX, and parameters can reference e.g. Account and Password from the secure store.
- At run-time YADE replaces references to the credential store by the respective values from the store. This prevents e.g. passwords from being exposed in YADE configuration files.