Produced by Araxis Merge on 3/25/2019 8:57:59 AM Central 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 | C:\AraxisMergeCompare\Pri_un\IMAG_Source\VISA\Java\CoreValueObjects\main\src\java\gov\va\med\imaging\core\interfaces\router | NullCommand.java | Mon Mar 18 20:39:13 2019 UTC |
2 | C:\AraxisMergeCompare\Pri_re\IMAG_Source\VISA\Java\CoreValueObjects\main\src\java\gov\va\med\imaging\core\interfaces\router | NullCommand.java | Tue Mar 19 12:03:24 2019 UTC |
Description | Between Files 1 and 2 |
|
---|---|---|
Text Blocks | Lines | |
Unchanged | 2 | 264 |
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 | * | |
3 | */ | |
4 | package go v.va.med.i maging.cor e.interfac es.router; | |
5 | ||
6 | import jav a.util.Dat e; | |
7 | ||
8 | import gov .va.med.Ro utingToken ; | |
9 | import gov .va.med.im aging.core .interface s.exceptio ns.Connect ionExcepti on; | |
10 | import gov .va.med.im aging.core .interface s.exceptio ns.MethodE xception; | |
11 | import gov .va.med.im aging.core .interface s.router.A synchronou sCommandRe sult; | |
12 | import gov .va.med.im aging.core .interface s.router.A synchronou sCommandRe sultListen er; | |
13 | import gov .va.med.im aging.core .interface s.router.C ommand; | |
14 | import gov .va.med.im aging.core .interface s.router.C ommandCont ext; | |
15 | ||
16 | /** | |
17 | * A void command is the equiv alent of a null (i.e . no comma nd). | |
18 | * It is n eeded when ever a com mand must be specifi ed in code but | |
19 | * no real command i s desired. In parti cular it i s used as the defaul t | |
20 | * in the FacadeRout erMethod a nnotation as the def ault comma nd class. | |
21 | * | |
22 | * @author DNS beckec | |
23 | * | |
24 | */ | |
25 | public cla ss NullCom mand | |
26 | implements Command<j ava.lang.V oid> | |
27 | { | |
28 | pr ivate Comm andContext commandCo ntext; | |
29 | ||
30 | /* (non-Java doc) | |
31 | * @see gov. va.med.ima ging.core. interfaces .router.Co mmand#setC ommandCont ext(gov.va .med.imagi ng.core.in terfaces.r outer.Comm andContext ) | |
32 | * / | |
33 | @O verride | |
34 | pu blic void setCommand Context(Co mmandConte xt command Context) | |
35 | { | |
36 | this .commandCo ntext = co mmandConte xt; | |
37 | } | |
38 | ||
39 | @O verride | |
40 | pu blic void addListene r(Asynchro nousComman dResultLis tener list ener) | |
41 | { | |
42 | } | |
43 | ||
44 | @O verride | |
45 | pu blic void setAccessi bilityDate (Date acce ssibilityD ate) | |
46 | { | |
47 | } | |
48 | ||
49 | @O verride | |
50 | pu blic void setPriorit y(int prio rity) | |
51 | { | |
52 | } | |
53 | ||
54 | @O verride | |
55 | pu blic void setProcess ingDuratio nEstimate( long proce ssingDurat ionEstimat e) | |
56 | { | |
57 | } | |
58 | ||
59 | /* (non-Java doc) | |
60 | * @see gov. va.med.ima ging.core. interfaces .router.Co mmand#call () | |
61 | * / | |
62 | @O verride | |
63 | pu blic Async hronousCom mandResult <Void> cal l() | |
64 | { | |
65 | retu rn new Asy nchronousC ommandResu lt<Void>(t his); | |
66 | } | |
67 | ||
68 | @O verride | |
69 | pu blic Void callSynchr onously() throws Met hodExcepti on, Connec tionExcept ion | |
70 | { | |
71 | retu rn null; | |
72 | } | |
73 | ||
74 | pu blic int g etPeriodic ExecutionD elay() | |
75 | { | |
76 | retu rn 0; | |
77 | } | |
78 | ||
79 | pu blic boole an isPerio dic() | |
80 | { | |
81 | retu rn false; | |
82 | } | |
83 | ||
84 | pu blic void setPeriodi c(boolean isPeriodic ) | |
85 | { | |
86 | } | |
87 | ||
88 | pu blic void setPeriodi cExecution Delay(int periodicEx ecutionDel ay) | |
89 | { | |
90 | } | |
91 | ||
92 | pu blic Comma nd getNewP eriodicIns tance() | |
93 | th rows Metho dException | |
94 | { | |
95 | thro w new Meth odExceptio n("getNewP eriodicIns tance is u ndefined f or this co mmand. It must be im plemented if the com mand will be used in an asynch ronous per iodic fash ion."); | |
96 | } | |
97 | ||
98 | /* (non-Java doc) | |
99 | * @see gov. va.med.ima ging.core. interfaces .router.Co mmand#setC hildComman d(boolean) | |
100 | * / | |
101 | @O verride | |
102 | pu blic void setChildCo mmand(bool ean childC ommand) | |
103 | { | |
104 | } | |
105 | ||
106 | /* (non-Java doc) | |
107 | * @see gov. va.med.ima ging.core. interfaces .router.Co mmand#setP arentComma ndIdString (java.lang .String) | |
108 | * / | |
109 | @O verride | |
110 | pu blic void setParentC ommandIdSt ring(Strin g parentCo mmandId) | |
111 | { | |
112 | } | |
113 | ||
114 | @O verride | |
115 | pu blic Routi ngToken ge tRoutingTo ken() thro ws MethodE xception | |
116 | { | |
117 | retu rn null; | |
118 | } | |
119 | ||
120 | @O verride | |
121 | pu blic boole an isPerio dicProcess ingTermina ted() | |
122 | { | |
123 | retu rn false; | |
124 | } | |
125 | ||
126 | @O verride | |
127 | pu blic void setPeriodi cProcessin gTerminate d( | |
128 | boolea n periodic Processing Terminated ) | |
129 | { | |
130 | ||
131 | } | |
132 | ||
133 | } |
Araxis Merge (but not the data content of this report) is Copyright © 1993-2016 Araxis Ltd (www.araxis.com). All rights reserved.