Produced by Araxis Merge on 6/11/2019 10:54:15 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\scheduling | TriggerStatus.java | Wed May 29 15:26:22 2019 UTC |
| 2 | HTRE_P3_v14.5_iter_4_build_14.zip\java\gov\va\med\fw\scheduling | TriggerStatus.java | Mon Jun 10 19:30:05 2019 UTC |
| Description | Between Files 1 and 2 |
|
|---|---|---|
| Text Blocks | Lines | |
| Unchanged | 2 | 184 |
| 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 2006 V HA. All ri ghts reser ved | |
| 3 | ********* ********** ********** ********** ********** ********** *********/ | |
| 4 | ||
| 5 | package go v.va.med.f w.scheduli ng; | |
| 6 | ||
| 7 | import jav a.util.Dat e; | |
| 8 | import jav a.util.Tim eZone; | |
| 9 | ||
| 10 | import org .apache.co mmons.lang .builder.T oStringBui lder; | |
| 11 | ||
| 12 | import gov .va.med.fw .model.Abs tractEntit y; | |
| 13 | import gov .va.med.fw .util.date .DateWithT imeZone; | |
| 14 | ||
| 15 | /** | |
| 16 | * Contain s status i nformation about a T rigger tha t could be used for | |
| 17 | * instrum entation n eeds. | |
| 18 | * | |
| 19 | * Created Jun 26, 2 006 2:21:4 2 PM | |
| 20 | * | |
| 21 | * @author DNS DN S
|
|
| 22 | */ | |
| 23 | public cla ss Trigger Status ext ends Abstr actEntity { | |
| 24 | /* * | |
| 25 | * An instan ce of seri alVersionU ID | |
| 26 | * / | |
| 27 | pr ivate stat ic final l ong serial VersionUID = 9003524 1380221338 58L; | |
| 28 | pu blic stati c String N ORMAL_STAT US = "WAIT ING"; | |
| 29 | pu blic stati c String P AUSED_STAT US = "PAUS ED"; | |
| 30 | ||
| 31 | pr ivate Date nextFireT ime; | |
| 32 | pr ivate Stri ng status; | |
| 33 | pr ivate Time Zone timeZ one; | |
| 34 | ||
| 35 | /* | |
| 36 | * (non-Java doc) | |
| 37 | * | |
| 38 | * @see | |
| 39 | * gov.va.me d.fw.model .AbstractE ntity#buil dToString( org.apache .commons.l ang | |
| 40 | * .builder. ToStringBu ilder) | |
| 41 | * / | |
| 42 | pr otected vo id buildTo String(ToS tringBuild er builder ) { | |
| 43 | buil der.append ("nextFire Time", nex tFireTime) ; | |
| 44 | buil der.append ("timeZone ", timeZon e); | |
| 45 | buil der.append ("status", status); | |
| 46 | } | |
| 47 | ||
| 48 | /* * | |
| 49 | * @return R eturns the nextFireT ime. | |
| 50 | * / | |
| 51 | pu blic Date getNextFir eTime() { | |
| 52 | retu rn nextFir eTime; | |
| 53 | } | |
| 54 | ||
| 55 | /* * | |
| 56 | * @param ne xtFireTime | |
| 57 | * The next FireTime t o set. | |
| 58 | * / | |
| 59 | pu blic void setNextFir eTime(Date nextFireT ime) { | |
| 60 | this .nextFireT ime = next FireTime; | |
| 61 | } | |
| 62 | ||
| 63 | /* * | |
| 64 | * @return R eturns the status. | |
| 65 | * / | |
| 66 | pu blic Strin g getStatu s() { | |
| 67 | retu rn status; | |
| 68 | } | |
| 69 | ||
| 70 | /* * | |
| 71 | * @param st atus | |
| 72 | * The stat us to set. | |
| 73 | * / | |
| 74 | pu blic void setStatus( String sta tus) { | |
| 75 | this .status = status; | |
| 76 | } | |
| 77 | ||
| 78 | pu blic TimeZ one getTim eZone() { | |
| 79 | retu rn timeZon e; | |
| 80 | } | |
| 81 | ||
| 82 | pu blic void setTimeZon e(TimeZone timeZone) { | |
| 83 | this .timeZone = timeZone ; | |
| 84 | } | |
| 85 | ||
| 86 | pu blic DateW ithTimeZon e getNextF ireTimeWit hTimeZone( ) { | |
| 87 | retu rn nextFir eTime == n ull ? null : new Dat eWithTimeZ one(nextFi reTime, ti meZone); | |
| 88 | } | |
| 89 | ||
| 90 | pu blic boole an isActiv e() { | |
| 91 | retu rn NORMAL_ STATUS.equ als(status ); | |
| 92 | } | |
| 93 | } |
Araxis Merge (but not the data content of this report) is Copyright © 1993-2016 Araxis Ltd (www.araxis.com). All rights reserved.