Produced by Araxis Merge on 6/11/2019 10:54:11 AM Eastern Daylight Time. See www.araxis.com for information about Merge. This report uses XHTML and CSS2, and is best viewed with a modern standards-compliant browser. For optimum results when printing this report, use landscape orientation and enable printing of background images and colours in your browser.
| # | Location | File | Last Modified |
|---|---|---|---|
| 1 | HTRE_P3_v14.5_iter_4_build_14.zip\java\gov\va\med\fw\batchprocess | DataFileProcessStatistics.java | Wed May 29 15:26:00 2019 UTC |
| 2 | HTRE_P3_v14.5_iter_4_build_14.zip\java\gov\va\med\fw\batchprocess | DataFileProcessStatistics.java | Mon Jun 10 19:30:04 2019 UTC |
| Description | Between Files 1 and 2 |
|
|---|---|---|
| Text Blocks | Lines | |
| Unchanged | 2 | 186 |
| Changed | 1 | 2 |
| Inserted | 0 | 0 |
| Removed | 0 | 0 |
| Whitespace | |
|---|---|
| Character case | Differences in character case are significant |
| Line endings | Differences in line endings (CR and LF characters) are ignored |
| CR/LF characters | Not shown in the comparison detail |
No regular expressions were active.
| 1 | /********* ********** ********** ********** ********** ********** ********* | |
| 2 | * Copyrii ght 2005 V HA. All ri ghts reser ved | |
| 3 | ********* ********** ********** ********** ********** ********** *********/ | |
| 4 | ||
| 5 | package go v.va.med.f w.batchpro cess; | |
| 6 | ||
| 7 | import jav a.util.Arr ayList; | |
| 8 | import jav a.util.Lis t; | |
| 9 | import jav a.util.Map ; | |
| 10 | ||
| 11 | import org .apache.co mmons.lang .StringUti ls; | |
| 12 | import org .apache.co mmons.lang .builder.T oStringBui lder; | |
| 13 | ||
| 14 | /** | |
| 15 | * Initial javadoc f or class D ataFilePro cessStatis tics. TODO - Add con tent here | |
| 16 | * | |
| 17 | * Created Feb 3, 20 06 1:49:05 PM | |
| 18 | * | |
| 19 | * @author DNS DN S
|
|
| 20 | */ | |
| 21 | public cla ss DataFil eProcessSt atistics e xtends Pro cessStatis tics { | |
| 22 | /* * | |
| 23 | * serialVer sionUID lo ng | |
| 24 | * / | |
| 25 | pr ivate stat ic final l ong serial VersionUID = 8435464 6553032517 84L; | |
| 26 | pr ivate Stri ng process edFilePath ; | |
| 27 | pr ivate List processed Files = ne w ArrayLis t(); | |
| 28 | ||
| 29 | pr otected vo id buildTo String(ToS tringBuild er builder ) { | |
| 30 | supe r.buildToS tring(buil der); | |
| 31 | buil der.append ("processe dFilePath" , processe dFilePath) ; | |
| 32 | buil der.append ("processe dFiles", p rocessedFi les); | |
| 33 | } | |
| 34 | ||
| 35 | /* * | |
| 36 | * @return R eturns the processed FilePath. | |
| 37 | * / | |
| 38 | pu blic Strin g getProce ssedFilePa th() { | |
| 39 | retu rn process edFilePath ; | |
| 40 | } | |
| 41 | ||
| 42 | /* * | |
| 43 | * @param pr ocessedFil ePath | |
| 44 | * The proc essedFileP ath to set . | |
| 45 | * / | |
| 46 | pu blic void setProcess edFilePath (String pr ocessedFil ePath) { | |
| 47 | this .processed FilePath = processed FilePath; | |
| 48 | } | |
| 49 | ||
| 50 | /* * | |
| 51 | * @return R eturns the processed Files. | |
| 52 | * / | |
| 53 | pu blic List getProcess edFiles() { | |
| 54 | retu rn process edFiles; | |
| 55 | } | |
| 56 | ||
| 57 | /* * | |
| 58 | * @param pr ocessedFil es | |
| 59 | * The proc essedFiles to set. | |
| 60 | * / | |
| 61 | pu blic void setProcess edFiles(Li st process edFiles) { | |
| 62 | this .processed Files = pr ocessedFil es; | |
| 63 | } | |
| 64 | ||
| 65 | /* * | |
| 66 | * @param pr ocessedFil es | |
| 67 | * The proc essedFiles to set. | |
| 68 | * / | |
| 69 | pu blic void addProcess edFile(Str ing proces sedFiles) { | |
| 70 | this .processed Files.add( processedF iles); | |
| 71 | } | |
| 72 | ||
| 73 | pu blic Map s tatsMap() throws Exc eption { | |
| 74 | Map data = sup er.statsMa p(); | |
| 75 | if ( !processed Files.isEm pty()) | |
| 76 | data.p ut("proces sedFiles", super.lis tAsString( getProcess edFiles()) ); | |
| 77 | else | |
| 78 | data.r emove("pro cessedFile s"); | |
| 79 | retu rn data; | |
| 80 | } | |
| 81 | ||
| 82 | pr otected Ma p mapFromC SV(String csv) { | |
| 83 | Map data = sup er.mapFrom CSV(csv); | |
| 84 | Stri ng process FilesStr = (String) data.get(" processedF iles"); | |
| 85 | if ( StringUtil s.isNotBla nk(process FilesStr)) | |
| 86 | data.p ut("proces sedFiles", super.lis tFromStrin g(processF ilesStr)); | |
| 87 | retu rn data; | |
| 88 | } | |
| 89 | ||
| 90 | pr otected vo id appendS tats(Proce ssStatisti cs stats) { | |
| 91 | this .setProces sedFilePat h(((DataFi leProcessS tatistics) stats).ge tProcessed FilePath() ); | |
| 92 | this .getProces sedFiles() .addAll((( DataFilePr ocessStati stics) sta ts).getPro cessedFile s()); | |
| 93 | } | |
| 94 | } |
Araxis Merge (but not the data content of this report) is Copyright © 1993-2016 Araxis Ltd (www.araxis.com). All rights reserved.