Update readme

This commit is contained in:
Petrutiu Mihai
2016-07-12 13:42:08 +03:00
parent 9c6d0169f0
commit 7d7e4f4878

View File

@@ -36,12 +36,15 @@ Chain length/performance issues - in theory you could see a chain that is too bi
### f. Examples described: ### f. Examples described:
* Purchase example: * Purchase example:
Starting class: PurchaseExample.CheckAuthority Starting class: PurchaseExample.CheckAuthority
Problem that we are trying to solve: Problem that we are trying to solve:
CheckAuthority allows an employee to request money for approval
if(manager can approve it) manager will process the request CheckAuthority allows an employee to request money for approval:
if (director can approve it) director will process the request * if(manager can approve it) manager will process the request
if (vice president can approve it) vice president will process the request * if (director can approve it) director will process the request
if (president can approve it) president will process the request * if (vice president can approve it) vice president will process the request
* if (president can approve it) president will process the request
* Transfer File example * Transfer File example
Starting class: TransferFileExample.TransferFilesManager Starting class: TransferFileExample.TransferFilesManager
TransferFilesManager will try to transfer the file to the destination by trying FTP, SFTP, Http, and simple file copy and it will decide which to use depending on the prefix of the path TransferFilesManager will try to transfer the file to the destination by trying FTP, SFTP, Http, and simple file copy and it will decide which to use depending on the prefix of the path