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 | AbstractDataFileIncrementalProcess.java | Wed May 29 15:26:02 2019 UTC |
| 2 | HTRE_P3_v14.5_iter_4_build_14.zip\java\gov\va\med\fw\batchprocess | AbstractDataFileIncrementalProcess.java | Mon Jun 10 19:30:04 2019 UTC |
| Description | Between Files 1 and 2 |
|
|---|---|---|
| Text Blocks | Lines | |
| Unchanged | 2 | 106 |
| 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.Lis t; | |
| 8 | ||
| 9 | import gov .va.med.fw .util.Inva lidConfigu rationExce ption; | |
| 10 | ||
| 11 | /** | |
| 12 | * Special ization of AbstractD ataFileLis tenerProce ss that al lows for r ecord | |
| 13 | * process ing in fix ed increme nts at a t ime, rathe r than the entire Li st of data | |
| 14 | * at once . | |
| 15 | * | |
| 16 | * Created Feb 2, 20 06 4:15:50 PM | |
| 17 | * | |
| 18 | * @author DNS DN S
|
|
| 19 | */ | |
| 20 | public abs tract clas s Abstract DataFileIn crementalP rocess ext ends Abstr actDataFil eListenerP rocess { | |
| 21 | pr ivate int incrementS ize = 25; // default is 25 at a time | |
| 22 | ||
| 23 | // can be ov erriden by subclasse s | |
| 24 | pu blic boole an acceptD ata(DataFi leProcessE xecutionCo ntext cont ext, Strin g nextRowR awData, | |
| 25 | List b eans) { | |
| 26 | retu rn beans.s ize() == i ncrementSi ze; | |
| 27 | } | |
| 28 | ||
| 29 | pu blic void afterPrope rtiesSet() { | |
| 30 | supe r.afterPro pertiesSet (); | |
| 31 | if ( incrementS ize <= 0) | |
| 32 | throw new Invali dConfigura tionExcept ion( | |
| 33 | "Invalid i ncrementSi ze. Must be positiv e number") ; | |
| 34 | } | |
| 35 | ||
| 36 | /* * | |
| 37 | * @return R eturns the increment Size. | |
| 38 | * / | |
| 39 | pu blic int g etIncremen tSize() { | |
| 40 | retu rn increme ntSize; | |
| 41 | } | |
| 42 | ||
| 43 | /* * | |
| 44 | * @param in crementSiz e | |
| 45 | * The incr ementSize to set. | |
| 46 | * / | |
| 47 | pu blic void setIncreme ntSize(int increment Size) { | |
| 48 | this .increment Size = inc rementSize ; | |
| 49 | } | |
| 50 | ||
| 51 | pr otected bo olean shou ldUpdateJo bResult(Da taFileProc essExecuti onContext context) { | |
| 52 | retu rn context .getProces sStatistic s().isTota lNumberMod (increment Size); | |
| 53 | } | |
| 54 | } |
Araxis Merge (but not the data content of this report) is Copyright © 1993-2016 Araxis Ltd (www.araxis.com). All rights reserved.