Produced by Araxis Merge on 12/13/2018 10:35:23 AM Eastern Standard 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 | v12.5_iter_7_build 51.zip\TRM_Upgrade\src\main\java\gov\va\med\ccht\service\common\impl | EnvironmentParamServiceImpl.java | Fri Dec 7 17:36:42 2018 UTC |
| 2 | v12.5_iter_7_build 51.zip\TRM_Upgrade\src\main\java\gov\va\med\ccht\service\common\impl | EnvironmentParamServiceImpl.java | Wed Dec 12 22:33:38 2018 UTC |
| Description | Between Files 1 and 2 |
|
|---|---|---|
| Text Blocks | Lines | |
| Unchanged | 2 | 228 |
| 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 | * Copyrig ht � 2010 VHA. All r ights rese rved | |
| 3 | ********* ********** ********** ********** ********** ********** *********/ | |
| 4 | package go v.va.med.c cht.servic e.common.i mpl; | |
| 5 | ||
| 6 | import jav a.util.Tim eZone; | |
| 7 | ||
| 8 | import org .springfra mework.bea ns.factory .annotatio n.Autowire d; | |
| 9 | import org .springfra mework.bea ns.factory .annotatio n.Value; | |
| 10 | import org .springfra mework.ste reotype.Co mponent; | |
| 11 | ||
| 12 | import gov .va.med.cc ht.service .common.De ployedEnvi ronment; | |
| 13 | import gov .va.med.fw .service.A bstractCom ponent; | |
| 14 | import gov .va.med.fw .service.c onfig.Envi ronmentPar amService; | |
| 15 | import gov .va.med.fw .util.Vers ionInfo; | |
| 16 | ||
| 17 | /** | |
| 18 | * used | |
| 19 | * @author DNS | |
| 20 | */ | |
| 21 | @Component | |
| 22 | public cla ss Environ mentParamS erviceImpl extends A bstractCom ponent imp lements | |
| 23 | Envi ronmentPar amService { | |
| 24 | ||
| 25 | @A utowired | |
| 26 | pr ivate Vers ionInfo ve rsion = nu ll; | |
| 27 | pr ivate Time Zone repor tingTimeZo ne = null; | |
| 28 | pr ivate bool ean isData Clean = fa lse; | |
| 29 | pr ivate Stri ng ldapGro upsRoot = null; | |
| 30 | ||
| 31 | @V alue("${cc ht.env}") | |
| 32 | pr ivate Stri ng env; | |
| 33 | ||
| 34 | @V alue("${lo gout.timeo ut.url}") | |
| 35 | pr ivate Stri ng logoutT imeoutUrl; | |
| 36 | ||
| 37 | @V alue("${lo gout.manua l.url}") | |
| 38 | pr ivate Stri ng logoutM anualUrl; | |
| 39 | ||
| 40 | pu blic Versi onInfo get Version() { | |
| 41 | retu rn version ; | |
| 42 | } | |
| 43 | ||
| 44 | pu blic void setVersion (VersionIn fo version ) { | |
| 45 | this .version = version; | |
| 46 | } | |
| 47 | ||
| 48 | pu blic TimeZ one getRep ortingTime Zone() { | |
| 49 | retu rn reporti ngTimeZone ; | |
| 50 | } | |
| 51 | ||
| 52 | pu blic void setReporti ngTimeZone (TimeZone reportingT imeZone) { | |
| 53 | this .reporting TimeZone = reporting TimeZone; | |
| 54 | } | |
| 55 | ||
| 56 | pu blic Strin g getLdapG roupsRoot( ) { | |
| 57 | retu rn ldapGro upsRoot; | |
| 58 | } | |
| 59 | ||
| 60 | pu blic void setLdapGro upsRoot(St ring ldapG roupsRoot) { | |
| 61 | this .ldapGroup sRoot = ld apGroupsRo ot; | |
| 62 | } | |
| 63 | ||
| 64 | pu blic boole an isDataC lean() { | |
| 65 | retu rn isDataC lean; | |
| 66 | } | |
| 67 | ||
| 68 | pu blic boole an isDevIn tEnv() { | |
| 69 | retu rn Deploye dEnvironme nt.DEVINT. getKey().e qualsIgnor eCase(env) ; | |
| 70 | } | |
| 71 | ||
| 72 | pu blic boole an isSqaEn v() { | |
| 73 | retu rn Deploye dEnvironme nt.SQA.get Key().equa lsIgnoreCa se(env); | |
| 74 | } | |
| 75 | ||
| 76 | pu blic boole an isProdE nv() { | |
| 77 | retu rn Deploye dEnvironme nt.PROD.ge tKey().equ alsIgnoreC ase(env); | |
| 78 | } | |
| 79 | ||
| 80 | pu blic boole an isLocal Env() { | |
| 81 | retu rn Deploye dEnvironme nt.LOCAL.g etKey().eq ualsIgnore Case(env); | |
| 82 | } | |
| 83 | ||
| 84 | pu blic Strin g getDeplo yedEnviron ment() { | |
| 85 | retu rn env; | |
| 86 | } | |
| 87 | ||
| 88 | pu blic void setIsDataC lean(boole an isDataC lean) { | |
| 89 | this .isDataCle an = isDat aClean; | |
| 90 | } | |
| 91 | ||
| 92 | pu blic void setEnv(Str ing env) { | |
| 93 | this .env = env ; | |
| 94 | } | |
| 95 | ||
| 96 | pu blic void afterPrope rtiesSet() throws Ex ception { | |
| 97 | supe r.afterPro pertiesSet (); | |
| 98 | } | |
| 99 | ||
| 100 | pu blic Strin g getLogou tTimeoutUr l() { | |
| 101 | retu rn logoutT imeoutUrl; | |
| 102 | } | |
| 103 | ||
| 104 | pu blic void setLogoutT imeoutUrl( String log outTimeout Url) { | |
| 105 | this .logoutTim eoutUrl = logoutTime outUrl; | |
| 106 | } | |
| 107 | ||
| 108 | pu blic Strin g getLogou tManualUrl () { | |
| 109 | retu rn logoutM anualUrl; | |
| 110 | } | |
| 111 | ||
| 112 | pu blic void setLogoutM anualUrl(S tring logo utManualUr l) { | |
| 113 | this .logoutMan ualUrl = l ogoutManua lUrl; | |
| 114 | } | |
| 115 | } |
Araxis Merge (but not the data content of this report) is Copyright © 1993-2016 Araxis Ltd (www.araxis.com). All rights reserved.